Nearest named color · #061C0B
#061C0B
Nearest named color: Nightmare
#061C0B (rgb(6 28 11), hsl(134 65% 7%), oklch(0.203 0.044 149.1)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#061C0B
oklch(0.203 0.044 149.1)
Color conversions
- HEX
- #061c0b
- RGB
- rgb(6 28 11)
- HSL
- hsl(134 65% 7%)
- HWB
- hwb(134 2% 89%)
- OKLCH
- oklch(0.203 0.044 149.1)
- OKLab
- oklab(0.203 -0.038 0.023)
- CIE Lab
- lab(8.07 -11.58 7.23)
- LCH
- lch(8.07 13.65 148)
- CMYK
- cmyk(79% 0% 61% 89%)
Tints · Shades · Tones
Tints
- 1B2F1F
- 314334
- 48584A
- 5F6E61
- 78847A
- 919C93
- ACB4AD
- C7CCC8
- E3E5E3
Shades
- 041708
- 031206
- 020D04
- 010802
- 010501
- 000201
- 000100
- 000000
- 000000
Tones
- 112515
- 1D2E20
- 28382B
- 344236
- 404C42
- 4C564E
- 59605A
- 666A66
- 737573
Color harmonies
Complementary +180°
- 061C0B
Nightmare
- 210F20
≈ Inside
Analogous -30° +30°
- 061C0B
Nightmare
- 151902
≈ Pinch of Pepper
- 001C17
≈ Black Stallion
Triadic +120° +240°
- 061C0B
Nightmare
- 0E152B
≈ Liberty Blue
- 270E0B
≈ Root Brew
Split-complementary +150° +210°
- 061C0B
Nightmare
- 1A1228
≈ Sambucus
- 260D16
≈ Italian Roast
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: #061c0b;
--nightmare-rgb: 6 28 11;
--nightmare-oklch: oklch(0.203 0.044 149.1);
}
.element {
color: var(--nightmare);
background-color: hsl(134 65% 7%);
border-color: oklch(0.203 0.044 149.1);
}Tailwind CSS v4
@theme {
--color-nightmare: #061c0b;
--color-nightmare-50: #edf9ef;
--color-nightmare-100: #deece1;
--color-nightmare-200: #c7dacb;
--color-nightmare-300: #a8beac;
--color-nightmare-400: #8da691;
--color-nightmare-500: #728f76;
--color-nightmare-600: #617964;
--color-nightmare-700: #4d6150;
--color-nightmare-800: #39473a;
--color-nightmare-900: #273127;
--color-nightmare-950: #151d16;
}SCSS
$nightmare: #061c0b;
$nightmare-rgb: 6, 28, 11;
$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);
}