Nearest named color · #071C01
#071C01
Nearest named color: Nightmare
#071C01 (rgb(7 28 1), hsl(107 93% 6%), oklch(0.201 0.059 137.8)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#071C01
oklch(0.201 0.059 137.8)
Color conversions
- HEX
- #071c01
- RGB
- rgb(7 28 1)
- HSL
- hsl(107 93% 6%)
- HWB
- hwb(107 0% 89%)
- OKLCH
- oklch(0.201 0.059 137.8)
- OKLab
- oklab(0.201 -0.044 0.04)
- CIE Lab
- lab(7.96 -12.35 11.14)
- LCH
- lch(7.96 16.63 138)
- CMYK
- cmyk(75% 0% 96% 89%)
Tints · Shades · Tones
Tints
- 1C2F14
- 31432B
- 485842
- 5F6E5A
- 788574
- 929C8E
- ACB4A9
- C7CCC5
- E3E5E2
Shades
- 051701
- 041201
- 020D00
- 020800
- 010500
- 000200
- 000100
- 000000
- 000000
Tones
- 12250B
- 1D2F17
- 293823
- 344230
- 404C3C
- 4C5649
- 596057
- 666B64
- 737572
Color harmonies
Complementary +180°
- 071C01
Nightmare
- 210C27
≈ Meški Black
Analogous -30° +30°
- 071C01
Nightmare
- 181700
≈ Pinch of Pepper
- 001C13
≈ Pinch of Pepper
Triadic +120° +240°
- 071C01
Nightmare
- 041630
≈ Squid’s Ink
- 2C080C
≈ 3AM Breakup
Split-complementary +150° +210°
- 071C01
Nightmare
- 16102F
≈ Spanish Roast
- 28091B
≈ Meški Black
Tetradic +90° +180° +270°
- 071C01
Nightmare
- 001924
≈ Creeping Death
- 210C27
≈ Meški Black
- 290C00
≈ Root Brew
Contrast & accessibility
Ag
AAAOn white
WCAG 17.86:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.86:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #071c01;
--nightmare-rgb: 7 28 1;
--nightmare-oklch: oklch(0.201 0.059 137.8);
}
.element {
color: var(--nightmare);
background-color: hsl(107 93% 6%);
border-color: oklch(0.201 0.059 137.8);
}Tailwind CSS v4
@theme {
--color-nightmare: #071c01;
--color-nightmare-50: #edfaea;
--color-nightmare-100: #deeddb;
--color-nightmare-200: #c8dbc3;
--color-nightmare-300: #a8bfa3;
--color-nightmare-400: #8ea785;
--color-nightmare-500: #73906a;
--color-nightmare-600: #627a5a;
--color-nightmare-700: #4e6147;
--color-nightmare-800: #394733;
--color-nightmare-900: #273122;
--color-nightmare-950: #151d12;
}SCSS
$nightmare: #071c01;
$nightmare-rgb: 7, 28, 1;
$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);
}