Nearest named color · #071B0F
#071B0F
Nearest named color: Nightmare
#071B0F (rgb(7 27 15), hsl(144 59% 7%), oklch(0.201 0.036 155.3)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#071B0F
oklch(0.201 0.036 155.3)
Color conversions
- HEX
- #071b0f
- RGB
- rgb(7 27 15)
- HSL
- hsl(144 59% 7%)
- HWB
- hwb(144 3% 89%)
- OKLCH
- oklch(0.201 0.036 155.3)
- OKLab
- oklab(0.201 -0.033 0.015)
- CIE Lab
- lab(7.79 -10.02 4.92)
- LCH
- lch(7.79 11.16 153.8)
- CMYK
- cmyk(74% 0% 44% 89%)
Tints · Shades · Tones
Tints
- 1C2E22
- 314237
- 48574D
- 606D64
- 78847C
- 929B95
- ACB3AE
- C7CCC8
- E3E5E3
Shades
- 05160B
- 041108
- 020C05
- 020803
- 010502
- 000201
- 000100
- 000000
- 000000
Tones
- 122419
- 1D2D23
- 29372D
- 354138
- 404B44
- 4D554F
- 59605B
- 666A67
- 737573
Color harmonies
Complementary +180°
- 071B0F
Nightmare
- 20101D
≈ Inside
Analogous -30° +30°
- 071B0F
Nightmare
- 121906
≈ Pinch of Pepper
- 001B18
≈ Black Stallion
Triadic +120° +240°
- 071B0F
Nightmare
- 121526
≈ Corbeau
- 24100B
≈ Bighorn Sheep
Split-complementary +150° +210°
- 071B0F
Nightmare
- 1A1223
≈ Inside
- 240F14
≈ Italian Roast
Tetradic +90° +180° +270°
- 071B0F
Nightmare
- 071825
≈ Creeping Death
- 20101D
≈ Inside
- 211304
≈ Super Black
Contrast & accessibility
Ag
AAAOn white
WCAG 17.90:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.90:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #071b0f;
--nightmare-rgb: 7 27 15;
--nightmare-oklch: oklch(0.201 0.036 155.3);
}
.element {
color: var(--nightmare);
background-color: hsl(144 59% 7%);
border-color: oklch(0.201 0.036 155.3);
}Tailwind CSS v4
@theme {
--color-nightmare: #071b0f;
--color-nightmare-50: #edf8f1;
--color-nightmare-100: #dfece3;
--color-nightmare-200: #c8d9ce;
--color-nightmare-300: #a9bdb0;
--color-nightmare-400: #8ea595;
--color-nightmare-500: #748e7c;
--color-nightmare-600: #627869;
--color-nightmare-700: #4e6054;
--color-nightmare-800: #39463d;
--color-nightmare-900: #27312a;
--color-nightmare-950: #151d17;
}SCSS
$nightmare: #071b0f;
$nightmare-rgb: 7, 27, 15;
$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);
}