最接近的命名颜色 · #B04F2A
#B04F2A
最接近的命名颜色: Spice Market
#B04F2A(rgb(176 79 42)、hsl(17 61% 43%)、oklch(0.545 0.137 40.4))最接近命名颜色 Spice Market。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#B04F2A
oklch(0.545 0.137 40.4)
颜色转换
- HEX
- #b04f2a
- RGB
- rgb(176 79 42)
- HSL
- hsl(17 61% 43%)
- HWB
- hwb(17 16% 31%)
- OKLCH
- oklch(0.545 0.137 40.4)
- OKLab
- oklab(0.545 0.104 0.089)
- CIE Lab
- lab(46.18 38.75 40.83)
- LCH
- lch(46.18 56.29 46.5)
- CMYK
- cmyk(0% 55% 76% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- BA6141
- C37356
- CB846B
- D49680
- DCA794
- E4B8A9
- EBCABE
- F2DBD4
- F9EDE9
深色调
- 994423
- 82381C
- 6C2E16
- 562310
- 42190A
- 2E1005
- 1C0702
- 0B0201
- 010000
灰色调
- AC5535
- A85B3F
- A46048
- A06651
- 9B6B59
- 976F61
- 917469
- 8C7871
- 867C78
配色和谐
互补色 +180°
- B04F2A
Spice Market
- 007D98
≈ Pacific Pleasure
类似色 -30° +30°
- B04F2A
Spice Market
- B0485D
≈ Punky Pink
- 9B6200
≈ Raw Sienna
三角配色 +120° +240°
- B04F2A
Spice Market
- 008557
≈ Primal Green
- 6364BD
≈ Bluish Purple Anemone
分裂互补色 +150° +210°
- B04F2A
Spice Market
- 00817D
≈ Belly Flop
- 2373BC
≈ Bluish
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 75
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 75
Contrast pairs
代码片段
CSS
:root {
--spice-market: #b04f2a;
--spice-market-rgb: 176 79 42;
--spice-market-oklch: oklch(0.545 0.137 40.4);
}
.element {
color: var(--spice-market);
background-color: hsl(17 61% 43%);
border-color: oklch(0.545 0.137 40.4);
}Tailwind CSS v4
@theme {
--color-spice-market: #b04f2a;
--color-spice-market-50: #ffe9d7;
--color-spice-market-100: #ffdac4;
--color-spice-market-200: #ffc2a6;
--color-spice-market-300: #f3a07f;
--color-spice-market-400: #e2805d;
--color-spice-market-500: #cf6138;
--color-spice-market-600: #af5330;
--color-spice-market-700: #8c4226;
--color-spice-market-800: #692f1c;
--color-spice-market-900: #4a2012;
--color-spice-market-950: #300f05;
}SCSS
$spice-market: #b04f2a;
$spice-market-rgb: 176, 79, 42;
$spice-market-light: mix(#fff, $spice-market, 20%);
$spice-market-dark: mix(#000, $spice-market, 20%);
.element {
color: $spice-market;
box-shadow: 0 0 0 2px rgba($spice-market, 0.35);
}