Nearest named color · #1A0C1C
#1A0C1C
Nearest named color: Shot in the Dark
#1A0C1C (rgb(26 12 28), hsl(293 40% 8%), oklch(0.183 0.038 322.4)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1A0C1C
oklch(0.183 0.038 322.4)
Color conversions
- HEX
- #1a0c1c
- RGB
- rgb(26 12 28)
- HSL
- hsl(293 40% 8%)
- HWB
- hwb(293 5% 89%)
- OKLCH
- oklch(0.183 0.038 322.4)
- OKLab
- oklab(0.183 0.03 -0.023)
- CIE Lab
- lab(5.09 8.66 -7.65)
- LCH
- lch(5.09 11.55 318.6)
- CMYK
- cmyk(7% 57% 0% 89%)
Tints · Shades · Tones
Tints
- 2D1F2F
- 413443
- 564B58
- 6C626E
- 837A84
- 9B939C
- B3ADB4
- CCC8CC
- E5E3E5
Shades
- 150917
- 100612
- 0C040D
- 070308
- 040205
- 020102
- 010001
- 000000
- 000000
Tones
- 231625
- 2D212E
- 362B38
- 403742
- 4A424B
- 554E56
- 5F5A60
- 6A666A
- 757375
Color harmonies
Complementary +180°
- 1A0C1C
Shot in the Dark
- 071607
≈ Oil Slick
Analogous -30° +30°
- 1A0C1C
Shot in the Dark
- 130F21
≈ Corbeau
- 1F0A14
≈ Shot in the Dark
Triadic +120° +240°
- 1A0C1C
Shot in the Dark
- 1A1000
≈ Crowshead
- 001618
≈ Black Glaze
Split-complementary +150° +210°
- 1A0C1C
Shot in the Dark
- 131401
≈ Chinese Black
- 001710
≈ Jedi Night
Tetradic +90° +180° +270°
- 1A0C1C
Shot in the Dark
- 1F0D03
≈ Severely Burnt Toast
- 071607
≈ Oil Slick
- 001520
≈ Creeping Death
Contrast & accessibility
Ag
AAAOn white
WCAG 18.86:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.11:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.86:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1a0c1c;
--shot-in-the-dark-rgb: 26 12 28;
--shot-in-the-dark-oklch: oklch(0.183 0.038 322.4);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(293 40% 8%);
border-color: oklch(0.183 0.038 322.4);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1a0c1c;
--color-shot-in-the-dark-50: #fbf2fb;
--color-shot-in-the-dark-100: #efe4ef;
--color-shot-in-the-dark-200: #ddcfdd;
--color-shot-in-the-dark-300: #c2b1c2;
--color-shot-in-the-dark-400: #aa97ac;
--color-shot-in-the-dark-500: #937e95;
--color-shot-in-the-dark-600: #7c6b7e;
--color-shot-in-the-dark-700: #635565;
--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: #1a0c1c;
$shot-in-the-dark-rgb: 26, 12, 28;
$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);
}