Nearest named color · #201324
#201324
Nearest named color: Shot in the Dark
#201324 (rgb(32 19 36), hsl(286 31% 11%), oklch(0.212 0.038 318)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#201324
oklch(0.212 0.038 318)
Color conversions
- HEX
- #201324
- RGB
- rgb(32 19 36)
- HSL
- hsl(286 31% 11%)
- HWB
- hwb(286 7% 86%)
- OKLCH
- oklch(0.212 0.038 318)
- OKLab
- oklab(0.212 0.028 -0.025)
- CIE Lab
- lab(8.09 9.85 -9.16)
- LCH
- lch(8.09 13.45 317.1)
- CMYK
- cmyk(11% 47% 0% 86%)
Tints · Shades · Tones
Tints
- 332637
- 473B4A
- 5B505F
- 716774
- 877F89
- 9E97A0
- B5B0B7
- CDCACE
- E6E4E6
Shades
- 1A0F1E
- 150B18
- 0F0712
- 0A050C
- 060307
- 030104
- 010102
- 000000
- 000000
Tones
- 291D2C
- 322735
- 3B313E
- 443B47
- 4E4650
- 575159
- 615D63
- 6B686C
- 767476
Color harmonies
Complementary +180°
- 201324
Shot in the Dark
- 101D0B
≈ Nightmare
Analogous -30° +30°
- 201324
Shot in the Dark
- 181629
≈ Sambucus
- 25111C
≈ Inside
Triadic +120° +240°
- 201324
Shot in the Dark
- 221603
≈ Cannon Black
- 001E1F
≈ Stellar Explorer
Split-complementary +150° +210°
- 201324
Shot in the Dark
- 1B1A04
≈ Noir Mystique
- 041E15
≈ Clock Chimes Thirteen
Tetradic +90° +180° +270°
- 201324
Shot in the Dark
- 271309
≈ Severely Burnt Toast
- 101D0B
≈ Nightmare
- 031C26
≈ Oxford by Night
Contrast & accessibility
Ag
AAAOn white
WCAG 17.79:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #201324;
--shot-in-the-dark-rgb: 32 19 36;
--shot-in-the-dark-oklch: oklch(0.212 0.038 318);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(286 31% 11%);
border-color: oklch(0.212 0.038 318);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #201324;
--color-shot-in-the-dark-50: #faf2fc;
--color-shot-in-the-dark-100: #eee4f0;
--color-shot-in-the-dark-200: #dccfde;
--color-shot-in-the-dark-300: #c0b2c4;
--color-shot-in-the-dark-400: #a898ad;
--color-shot-in-the-dark-500: #917f97;
--color-shot-in-the-dark-600: #7b6b7f;
--color-shot-in-the-dark-700: #625666;
--color-shot-in-the-dark-800: #483f4b;
--color-shot-in-the-dark-900: #322b34;
--color-shot-in-the-dark-950: #1e1820;
}SCSS
$shot-in-the-dark: #201324;
$shot-in-the-dark-rgb: 32, 19, 36;
$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);
}