Nearest named color · #1A0C1D
#1A0C1D
Nearest named color: Shot in the Dark
#1A0C1D (rgb(26 12 29), hsl(289 41% 8%), oklch(0.183 0.039 320.4)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1A0C1D
oklch(0.183 0.039 320.4)
Color conversions
- HEX
- #1a0c1d
- RGB
- rgb(26 12 29)
- HSL
- hsl(289 41% 8%)
- HWB
- hwb(289 5% 89%)
- OKLCH
- oklch(0.183 0.039 320.4)
- OKLab
- oklab(0.183 0.03 -0.025)
- CIE Lab
- lab(5.13 8.89 -8.37)
- LCH
- lch(5.13 12.21 316.7)
- CMYK
- cmyk(10% 59% 0% 89%)
Tints · Shades · Tones
Tints
- 2D2030
- 413444
- 564B59
- 6C626F
- 837A85
- 9B939C
- B3ADB4
- CCC8CD
- E5E3E6
Shades
- 150918
- 100613
- 0C040E
- 070309
- 040205
- 020103
- 010001
- 000000
- 000000
Tones
- 231626
- 2D212F
- 362B39
- 403742
- 4A424C
- 554E56
- 5F5A60
- 6A666B
- 757375
Color harmonies
Complementary +180°
- 1A0C1D
Shot in the Dark
- 081606
≈ Oil Slick
Analogous -30° +30°
- 1A0C1D
Shot in the Dark
- 120F22
≈ Corbeau
- 1F0A15
≈ Shot in the Dark
Triadic +120° +240°
- 1A0C1D
Shot in the Dark
- 1B1000
≈ Super Black
- 001618
≈ Black Glaze
Split-complementary +150° +210°
- 1A0C1D
Shot in the Dark
- 131400
≈ Chinese Black
- 001710
≈ Jedi Night
Tetradic +90° +180° +270°
- 1A0C1D
Shot in the Dark
- 200C03
≈ Severely Burnt Toast
- 081606
≈ Oil Slick
- 00151F
≈ Creeping Death
Contrast & accessibility
Ag
AAAOn white
WCAG 18.84:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.11:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.84:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1a0c1d;
--shot-in-the-dark-rgb: 26 12 29;
--shot-in-the-dark-oklch: oklch(0.183 0.039 320.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(289 41% 8%);
border-color: oklch(0.183 0.039 320.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1a0c1d;
--color-shot-in-the-dark-50: #fbf2fc;
--color-shot-in-the-dark-100: #eee4f0;
--color-shot-in-the-dark-200: #ddcfde;
--color-shot-in-the-dark-300: #c1b1c4;
--color-shot-in-the-dark-400: #a997ad;
--color-shot-in-the-dark-500: #927e97;
--color-shot-in-the-dark-600: #7c6b7f;
--color-shot-in-the-dark-700: #635566;
--color-shot-in-the-dark-800: #483e4b;
--color-shot-in-the-dark-900: #322b34;
--color-shot-in-the-dark-950: #1e1820;
}SCSS
$shot-in-the-dark: #1a0c1d;
$shot-in-the-dark-rgb: 26, 12, 29;
$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);
}