最接近的命名颜色 · #27120F
#27120F
最接近的命名颜色: Italian Roast
#27120F(rgb(39 18 15)、hsl(7 44% 11%)、oklch(0.212 0.036 29))最接近命名颜色 Italian Roast。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#27120F
oklch(0.212 0.036 29)
颜色转换
- HEX
- #27120f
- RGB
- rgb(39 18 15)
- HSL
- hsl(7 44% 11%)
- HWB
- hwb(7 6% 85%)
- OKLCH
- oklch(0.212 0.036 29)
- OKLab
- oklab(0.212 0.031 0.017)
- CIE Lab
- lab(8.25 10.88 6.15)
- LCH
- lch(8.25 12.49 29.5)
- CMYK
- cmyk(0% 54% 62% 85%)
浅色调 · 深色调 · 灰色调
浅色调
- 3A2522
- 4E3A37
- 62504D
- 776764
- 8C7E7C
- A29795
- B9B0AE
- D0CAC8
- E7E4E3
深色调
- 200E0B
- 1A0A08
- 140705
- 0E0403
- 080202
- 040101
- 020100
- 010000
- 000000
灰色调
- 301C19
- 382623
- 41302E
- 4A3B38
- 534644
- 5C514F
- 655C5B
- 6E6867
- 777473
配色和谐
互补色 +180°
- 27120F
Italian Roast
- 011D22
≈ Stellar Explorer
类似色 -30° +30°
- 27120F
Italian Roast
- 261118
≈ Italian Roast
- 251407
≈ Cannon Black
三角配色 +120° +240°
- 27120F
Italian Roast
- 0C1D0F
≈ Pinch of Pepper
- 121829
≈ Sambucus
分裂互补色 +150° +210°
- 27120F
Italian Roast
- 021E19
≈ Stellar Explorer
- 071B27
≈ Oxford by Night
四角配色 +90° +180° +270°
- 27120F
Italian Roast
- 171B07
≈ Pinch of Pepper
- 011D22
≈ Stellar Explorer
- 1B1527
≈ Sambucus
对比度与无障碍
Ag
AAA白底
WCAG 17.80:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--italian-roast: #27120f;
--italian-roast-rgb: 39 18 15;
--italian-roast-oklch: oklch(0.212 0.036 29);
}
.element {
color: var(--italian-roast);
background-color: hsl(7 44% 11%);
border-color: oklch(0.212 0.036 29);
}Tailwind CSS v4
@theme {
--color-italian-roast: #27120f;
--color-italian-roast-50: #fff2ef;
--color-italian-roast-100: #f4e4e1;
--color-italian-roast-200: #e3cfcb;
--color-italian-roast-300: #c9b1ac;
--color-italian-roast-400: #b39792;
--color-italian-roast-500: #9d7e79;
--color-italian-roast-600: #846a66;
--color-italian-roast-700: #6a5552;
--color-italian-roast-800: #4e3e3c;
--color-italian-roast-900: #362b29;
--color-italian-roast-950: #211817;
}SCSS
$italian-roast: #27120f;
$italian-roast-rgb: 39, 18, 15;
$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);
}