最接近的命名颜色 · #0F0907
#0F0907
最接近的命名颜色: Liquorice
#0F0907(rgb(15 9 7)、hsl(15 36% 4%)、oklch(0.147 0.012 41.7))最接近命名颜色 Liquorice。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#0F0907
oklch(0.147 0.012 41.7)
颜色转换
- HEX
- #0f0907
- RGB
- rgb(15 9 7)
- HSL
- hsl(15 36% 4%)
- HWB
- hwb(15 3% 94%)
- OKLCH
- oklch(0.147 0.012 41.7)
- OKLab
- oklab(0.147 0.009 0.008)
- CIE Lab
- lab(2.85 1.62 1.42)
- LCH
- lch(2.85 2.15 41.1)
- CMYK
- cmyk(0% 40% 53% 94%)
浅色调 · 深色调 · 灰色调
浅色调
- 221C1A
- 37312F
- 4D4745
- 645F5D
- 7C7776
- 949190
- AEABAA
- C8C7C6
- E3E2E2
深色调
- 0B0705
- 080504
- 050302
- 030202
- 020101
- 010100
- 000000
- 000000
- 000000
灰色调
- 191311
- 231D1B
- 2D2826
- 383432
- 44403E
- 4F4C4B
- 5B5858
- 676565
- 737372
配色和谐
互补色 +180°
- 0F0907
Liquorice
- 060C0E
≈ Dark Side of the Moon
类似色 -30° +30°
- 0F0907
Liquorice
- 0F0909
≈ Chyornyi Black
- 0E0A06
≈ Stout
三角配色 +120° +240°
- 0F0907
Liquorice
- 070C09
≈ Dark Side of the Moon
- 0A0A10
≈ Midnight Oil
分裂互补色 +150° +210°
- 0F0907
Liquorice
- 050C0C
≈ Dark Side of the Moon
- 070B0F
≈ Dark Side of the Moon
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AAA白底
WCAG 19.76:1 · APCA Lc 106
Ag
Fail黑底
WCAG 1.06:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 19.76:1 (AAA) · APCA Lc 106
Contrast pairs
代码片段
CSS
:root {
--liquorice: #0f0907;
--liquorice-rgb: 15 9 7;
--liquorice-oklch: oklch(0.147 0.012 41.7);
}
.element {
color: var(--liquorice);
background-color: hsl(15 36% 4%);
border-color: oklch(0.147 0.012 41.7);
}Tailwind CSS v4
@theme {
--color-liquorice: #0f0907;
--color-liquorice-50: #f8f4f2;
--color-liquorice-100: #ebe7e5;
--color-liquorice-200: #d9d3d0;
--color-liquorice-300: #bdb6b3;
--color-liquorice-400: #a59c99;
--color-liquorice-500: #8d8480;
--color-liquorice-600: #78706c;
--color-liquorice-700: #605957;
--color-liquorice-800: #46413f;
--color-liquorice-900: #312d2c;
--color-liquorice-950: #1d1a19;
}SCSS
$liquorice: #0f0907;
$liquorice-rgb: 15, 9, 7;
$liquorice-light: mix(#fff, $liquorice, 20%);
$liquorice-dark: mix(#000, $liquorice, 20%);
.element {
color: $liquorice;
box-shadow: 0 0 0 2px rgba($liquorice, 0.35);
}