Nearest named color · #0D1B07
#0D1B07
Nearest named color: Nightmare
#0D1B07 (rgb(13 27 7), hsl(102 59% 7%), oklch(0.203 0.042 136.9)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0D1B07
oklch(0.203 0.042 136.9)
Color conversions
- HEX
- #0d1b07
- RGB
- rgb(13 27 7)
- HSL
- hsl(102 59% 7%)
- HWB
- hwb(102 3% 89%)
- OKLCH
- oklch(0.203 0.042 136.9)
- OKLab
- oklab(0.203 -0.031 0.029)
- CIE Lab
- lab(8.02 -9.22 8.85)
- LCH
- lch(8.02 12.78 136.2)
- CMYK
- cmyk(52% 0% 74% 89%)
Tints · Shades · Tones
Tints
- 212E1B
- 354230
- 4C5747
- 636D5F
- 7B8477
- 949B91
- AEB3AB
- C8CCC7
- E3E5E2
Shades
- 0A1605
- 071104
- 050C02
- 030802
- 020501
- 010200
- 000100
- 000000
- 000000
Tones
- 172412
- 222D1D
- 2C3728
- 374134
- 434B40
- 4F554C
- 5B6059
- 676A65
- 737573
Color harmonies
Complementary +180°
- 0D1B07
Nightmare
- 1E1023
≈ Inside
Analogous -30° +30°
- 0D1B07
Nightmare
- 191801
≈ Pinch of Pepper
- 001D13
≈ Clock Chimes Thirteen
Triadic +120° +240°
- 0D1B07
Nightmare
- 09172A
≈ Creeping Death
- 270E10
≈ Italian Roast
Split-complementary +150° +210°
- 0D1B07
Nightmare
- 161329
≈ Sambucus
- 240E1A
≈ Inside
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.84:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.84:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #0d1b07;
--nightmare-rgb: 13 27 7;
--nightmare-oklch: oklch(0.203 0.042 136.9);
}
.element {
color: var(--nightmare);
background-color: hsl(102 59% 7%);
border-color: oklch(0.203 0.042 136.9);
}Tailwind CSS v4
@theme {
--color-nightmare: #0d1b07;
--color-nightmare-50: #eff8ed;
--color-nightmare-100: #e1ecde;
--color-nightmare-200: #cbd9c8;
--color-nightmare-300: #adbda8;
--color-nightmare-400: #93a58c;
--color-nightmare-500: #798d72;
--color-nightmare-600: #677760;
--color-nightmare-700: #525f4d;
--color-nightmare-800: #3c4637;
--color-nightmare-900: #293026;
--color-nightmare-950: #171d14;
}SCSS
$nightmare: #0d1b07;
$nightmare-rgb: 13, 27, 7;
$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);
}