Nearest named color · #1D0F1E
#1D0F1E
Nearest named color: Shot in the Dark
#1D0F1E (rgb(29 15 30), hsl(296 33% 9%), oklch(0.195 0.036 324.5)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1D0F1E
oklch(0.195 0.036 324.5)
Color conversions
- HEX
- #1d0f1e
- RGB
- rgb(29 15 30)
- HSL
- hsl(296 33% 9%)
- HWB
- hwb(296 6% 88%)
- OKLCH
- oklch(0.195 0.036 324.5)
- OKLab
- oklab(0.195 0.029 -0.021)
- CIE Lab
- lab(6.27 9.48 -7.39)
- LCH
- lch(6.27 12.02 322.1)
- CMYK
- cmyk(3% 50% 0% 88%)
Tints · Shades · Tones
Tints
- 302231
- 443745
- 594D5A
- 6F646F
- 857C86
- 9C959D
- B4AEB4
- CDC9CD
- E6E3E6
Shades
- 180B19
- 130813
- 0E050E
- 090309
- 050205
- 030103
- 010001
- 000000
- 000000
Tones
- 261927
- 2F2330
- 392E39
- 423943
- 4C444D
- 564F56
- 605B61
- 6B676B
- 757375
Color harmonies
Complementary +180°
- 1D0F1E
Shot in the Dark
- 0A190A
≈ Pinch of Pepper
Analogous -30° +30°
- 1D0F1E
Shot in the Dark
- 161124
≈ Corbeau
- 210E16
≈ Italian Roast
Triadic +120° +240°
- 1D0F1E
Shot in the Dark
- 1C1302
≈ Crowshead
- 00191C
≈ Black Stallion
Split-complementary +150° +210°
- 1D0F1E
Shot in the Dark
- 151703
≈ Pinch of Pepper
- 011A14
≈ Pinch of Pepper
Tetradic +90° +180° +270°
- 1D0F1E
Shot in the Dark
- 211005
≈ Severely Burnt Toast
- 0A190A
≈ Pinch of Pepper
- 031723
≈ Creeping Death
Contrast & accessibility
Ag
AAAOn white
WCAG 18.43:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.13:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.43:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1d0f1e;
--shot-in-the-dark-rgb: 29 15 30;
--shot-in-the-dark-oklch: oklch(0.195 0.036 324.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(296 33% 9%);
border-color: oklch(0.195 0.036 324.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d0f1e;
--color-shot-in-the-dark-50: #fbf2fb;
--color-shot-in-the-dark-100: #efe4ee;
--color-shot-in-the-dark-200: #ddcfdd;
--color-shot-in-the-dark-300: #c2b1c1;
--color-shot-in-the-dark-400: #aa98ab;
--color-shot-in-the-dark-500: #937e94;
--color-shot-in-the-dark-600: #7c6b7d;
--color-shot-in-the-dark-700: #635564;
--color-shot-in-the-dark-800: #493e4a;
--color-shot-in-the-dark-900: #322b33;
--color-shot-in-the-dark-950: #1e181f;
}SCSS
$shot-in-the-dark: #1d0f1e;
$shot-in-the-dark-rgb: 29, 15, 30;
$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);
}