Nearest named color · #180B1B
#180B1B
Nearest named color: Shot in the Dark
#180B1B (rgb(24 11 27), hsl(289 42% 7%), oklch(0.177 0.037 319.9)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#180B1B
oklch(0.177 0.037 319.9)
Color conversions
- HEX
- #180b1b
- RGB
- rgb(24 11 27)
- HSL
- hsl(289 42% 7%)
- HWB
- hwb(289 4% 89%)
- OKLCH
- oklch(0.177 0.037 319.9)
- OKLab
- oklab(0.177 0.029 -0.024)
- CIE Lab
- lab(4.6 7.78 -7.61)
- LCH
- lch(4.6 10.88 315.6)
- CMYK
- cmyk(11% 59% 0% 89%)
Tints · Shades · Tones
Tints
- 2B1E2E
- 3F3342
- 554A57
- 6B616D
- 827984
- 9A939B
- B2ADB3
- CBC7CC
- E5E3E5
Shades
- 130816
- 0F0611
- 0A040C
- 070208
- 040105
- 020102
- 010001
- 000000
- 000000
Tones
- 211524
- 2B202D
- 352B37
- 3F3641
- 49414B
- 544D55
- 5F5A60
- 69666A
- 757375
Color harmonies
Complementary +180°
- 180B1B
Shot in the Dark
- 081505
≈ Oil Slick
Analogous -30° +30°
- 180B1B
Shot in the Dark
- 110E20
≈ Corbeau
- 1D0913
≈ Crow
Triadic +120° +240°
- 180B1B
Shot in the Dark
- 190F00
≈ Chinese Black
- 001516
≈ Black Glaze
Split-complementary +150° +210°
- 180B1B
Shot in the Dark
- 121200
≈ Chinese Black
- 00160E
≈ Jedi Night
Tetradic +90° +180° +270°
- 180B1B
Shot in the Dark
- 1E0B03
≈ Soy Sauce
- 081505
≈ Oil Slick
- 00131D
≈ Kuretake Black Manga
Contrast & accessibility
Ag
AAAOn white
WCAG 19.04:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.10:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.04:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #180b1b;
--shot-in-the-dark-rgb: 24 11 27;
--shot-in-the-dark-oklch: oklch(0.177 0.037 319.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(289 42% 7%);
border-color: oklch(0.177 0.037 319.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #180b1b;
--color-shot-in-the-dark-50: #faf2fc;
--color-shot-in-the-dark-100: #eee4ef;
--color-shot-in-the-dark-200: #dccfde;
--color-shot-in-the-dark-300: #c1b1c3;
--color-shot-in-the-dark-400: #a998ac;
--color-shot-in-the-dark-500: #927f96;
--color-shot-in-the-dark-600: #7b6b7f;
--color-shot-in-the-dark-700: #635665;
--color-shot-in-the-dark-800: #483e4b;
--color-shot-in-the-dark-900: #322b34;
--color-shot-in-the-dark-950: #1e181f;
}SCSS
$shot-in-the-dark: #180b1b;
$shot-in-the-dark-rgb: 24, 11, 27;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}