Nearest named color · #071C08
#071C08
Nearest named color: Nightmare
#071C08 (rgb(7 28 8), hsl(123 60% 7%), oklch(0.203 0.047 144.6)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#071C08
oklch(0.203 0.047 144.6)
Color conversions
- HEX
- #071c08
- RGB
- rgb(7 28 8)
- HSL
- hsl(123 60% 7%)
- HWB
- hwb(123 3% 89%)
- OKLCH
- oklch(0.203 0.047 144.6)
- OKLab
- oklab(0.203 -0.038 0.027)
- CIE Lab
- lab(8.08 -11.62 8.47)
- LCH
- lch(8.08 14.38 143.9)
- CMYK
- cmyk(75% 0% 71% 89%)
Tints · Shades · Tones
Tints
- 1C2F1C
- 314331
- 485848
- 606E5F
- 788578
- 929C92
- ACB4AC
- C7CCC7
- E3E5E3
Shades
- 051706
- 041204
- 020D03
- 020802
- 010501
- 000201
- 000100
- 000000
- 000000
Tones
- 122513
- 1D2E1E
- 293829
- 354234
- 404C40
- 4D564C
- 596059
- 666B66
- 737573
Color harmonies
Complementary +180°
- 071C08
Nightmare
- 210E22
≈ Inside
Analogous -30° +30°
- 071C08
Nightmare
- 161900
≈ Pinch of Pepper
- 001C15
≈ Pinch of Pepper
Triadic +120° +240°
- 071C08
Nightmare
- 0C162C
≈ Liberty Blue
- 290D0B
≈ Root Brew
Split-complementary +150° +210°
- 071C08
Nightmare
- 18122A
≈ Lost in Sadness
- 270C18
≈ Inside
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #071c08;
--nightmare-rgb: 7 28 8;
--nightmare-oklch: oklch(0.203 0.047 144.6);
}
.element {
color: var(--nightmare);
background-color: hsl(123 60% 7%);
border-color: oklch(0.203 0.047 144.6);
}Tailwind CSS v4
@theme {
--color-nightmare: #071c08;
--color-nightmare-50: #edf9ed;
--color-nightmare-100: #deecdf;
--color-nightmare-200: #c8dac9;
--color-nightmare-300: #a8beaa;
--color-nightmare-400: #8ea68d;
--color-nightmare-500: #738f73;
--color-nightmare-600: #627961;
--color-nightmare-700: #4e614e;
--color-nightmare-800: #394738;
--color-nightmare-900: #273126;
--color-nightmare-950: #151d14;
}SCSS
$nightmare: #071c08;
$nightmare-rgb: 7, 28, 8;
$nightmare-light: mix(#fff, $nightmare, 20%);
$nightmare-dark: mix(#000, $nightmare, 20%);
.element {
color: $nightmare;
box-shadow: 0 0 0 2px rgba($nightmare, 0.35);
}