最接近的命名颜色 · #281114
#281114
最接近的命名颜色: Italian Roast
#281114(rgb(40 17 20)、hsl(352 40% 11%)、oklch(0.213 0.038 12.6))最接近命名颜色 Italian Roast。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#281114
oklch(0.213 0.038 12.6)
颜色转换
- HEX
- #281114
- RGB
- rgb(40 17 20)
- HSL
- hsl(352 40% 11%)
- HWB
- hwb(352 7% 84%)
- OKLCH
- oklch(0.213 0.038 12.6)
- OKLab
- oklab(0.213 0.038 0.008)
- CIE Lab
- lab(8.27 12.55 3.25)
- LCH
- lch(8.27 12.96 14.5)
- CMYK
- cmyk(0% 58% 50% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B2527
- 4F393B
- 634F51
- 786667
- 8D7E7F
- A39697
- B9AFB0
- D0C9CA
- E7E4E4
深色调
- 210D10
- 1B090C
- 150608
- 0F0405
- 090203
- 040101
- 020001
- 010000
- 000000
灰色调
- 311B1D
- 392527
- 423031
- 4B3A3C
- 534546
- 5C5151
- 655C5D
- 6E6868
- 777474
配色和谐
互补色 +180°
- 281114
Italian Roast
- 001E1D
≈ Stellar Explorer
类似色 -30° +30°
- 281114
Italian Roast
- 25111E
≈ Inside
- 28130A
≈ Root Brew
三角配色 +120° +240°
- 281114
Italian Roast
- 121D09
≈ Nightmare
- 0B1A2A
≈ Oxford by Night
分裂互补色 +150° +210°
- 281114
Italian Roast
- 051E14
≈ Clock Chimes Thirteen
- 011D26
≈ Oxford by Night
四角配色 +90° +180° +270°
- 281114
Italian Roast
- 1C1A03
≈ Noir Mystique
- 001E1D
≈ Stellar Explorer
- 16162A
≈ Sambucus
对比度与无障碍
Ag
AAA白底
WCAG 17.78:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.18:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--italian-roast: #281114;
--italian-roast-rgb: 40 17 20;
--italian-roast-oklch: oklch(0.213 0.038 12.6);
}
.element {
color: var(--italian-roast);
background-color: hsl(352 40% 11%);
border-color: oklch(0.213 0.038 12.6);
}Tailwind CSS v4
@theme {
--color-italian-roast: #281114;
--color-italian-roast-50: #fff1f2;
--color-italian-roast-100: #f5e3e4;
--color-italian-roast-200: #e4cecf;
--color-italian-roast-300: #cab0b1;
--color-italian-roast-400: #b49698;
--color-italian-roast-500: #9e7c7f;
--color-italian-roast-600: #86696c;
--color-italian-roast-700: #6b5456;
--color-italian-roast-800: #4f3d3f;
--color-italian-roast-900: #372a2b;
--color-italian-roast-950: #221819;
}SCSS
$italian-roast: #281114;
$italian-roast-rgb: 40, 17, 20;
$italian-roast-light: mix(#fff, $italian-roast, 20%);
$italian-roast-dark: mix(#000, $italian-roast, 20%);
.element {
color: $italian-roast;
box-shadow: 0 0 0 2px rgba($italian-roast, 0.35);
}