Nearest named color · #01070C
#01070C
Nearest named color: Eight Ball
#01070C (rgb(1 7 12), hsl(207 85% 3%), oklch(0.122 0.02 231.9)) is closest to the named color Eight Ball. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#01070C
oklch(0.122 0.02 231.9)
Color conversions
- HEX
- #01070c
- RGB
- rgb(1 7 12)
- HSL
- hsl(207 85% 3%)
- HWB
- hwb(207 0% 95%)
- OKLCH
- oklch(0.122 0.02 231.9)
- OKLab
- oklab(0.122 -0.012 -0.016)
- CIE Lab
- lab(1.64 -1.1 -2.53)
- LCH
- lch(1.64 2.76 246.5)
- CMYK
- cmyk(92% 42% 0% 95%)
Tints · Shades · Tones
Tints
- 101A1F
- 252F34
- 3C454A
- 555D61
- 6F767A
- 8A9093
- A6AAAD
- C3C6C8
- E1E2E3
Shades
- 010509
- 010406
- 000204
- 000203
- 000102
- 000001
- 000000
- 000000
- 000000
Tones
- 071116
- 121B20
- 1F272B
- 2B3236
- 383E42
- 464B4E
- 54585A
- 626566
- 717273
Color harmonies
Complementary +180°
- 01070C
Eight Ball
- 0C0402
≈ Liquorice
Analogous -30° +30°
- 01070C
Eight Ball
- 000809
≈ Eight Ball
- 03060D
≈ Eight Ball
Triadic +120° +240°
- 01070C
Eight Ball
- 0B0407
≈ Black Metal
- 060701
≈ Liquorice
Split-complementary +150° +210°
- 01070C
Eight Ball
- 0C0404
≈ Liquorice
- 090501
≈ Liquorice
Tetradic +90° +180° +270°
- 01070C
Eight Ball
- 09040A
≈ Broken Tube
- 0C0402
≈ Liquorice
- 030803
≈ Black Metal
Contrast & accessibility
Ag
AAAOn white
WCAG 20.25:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.03:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 20.25:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--eight-ball: #01070c;
--eight-ball-rgb: 1 7 12;
--eight-ball-oklch: oklch(0.122 0.02 231.9);
}
.element {
color: var(--eight-ball);
background-color: hsl(207 85% 3%);
border-color: oklch(0.122 0.02 231.9);
}Tailwind CSS v4
@theme {
--color-eight-ball: #01070c;
--color-eight-ball-50: #f0f6fa;
--color-eight-ball-100: #e2e9ee;
--color-eight-ball-200: #ccd6dc;
--color-eight-ball-300: #aeb9c0;
--color-eight-ball-400: #93a1a8;
--color-eight-ball-500: #798991;
--color-eight-ball-600: #67747b;
--color-eight-ball-700: #525d62;
--color-eight-ball-800: #3c4448;
--color-eight-ball-900: #292f32;
--color-eight-ball-950: #171b1e;
}SCSS
$eight-ball: #01070c;
$eight-ball-rgb: 1, 7, 12;
$eight-ball-light: mix(#fff, $eight-ball, 20%);
$eight-ball-dark: mix(#000, $eight-ball, 20%);
.element {
color: $eight-ball;
box-shadow: 0 0 0 2px rgba($eight-ball, 0.35);
}