Nearest named color · #251121
#251121
Nearest named color: Shot in the Dark
#251121 (rgb(37 17 33), hsl(312 37% 11%), oklch(0.214 0.043 334.8)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#251121
oklch(0.214 0.043 334.8)
Color conversions
- HEX
- #251121
- RGB
- rgb(37 17 33)
- HSL
- hsl(312 37% 11%)
- HWB
- hwb(312 7% 85%)
- OKLCH
- oklch(0.214 0.043 334.8)
- OKLab
- oklab(0.214 0.039 -0.018)
- CIE Lab
- lab(8.18 12.93 -6.67)
- LCH
- lch(8.18 14.54 332.7)
- CMYK
- cmyk(0% 54% 11% 85%)
Tints · Shades · Tones
Tints
- 382534
- 4C3947
- 604F5C
- 756671
- 8B7E87
- A1969E
- B8AFB6
- CFC9CE
- E7E4E6
Shades
- 1F0D1B
- 190916
- 130610
- 0D040B
- 080206
- 040103
- 020001
- 000000
- 000000
Tones
- 2E1B2A
- 362532
- 3F303B
- 483A45
- 51454E
- 5A5158
- 645C62
- 6D686C
- 767476
Color harmonies
Complementary +180°
- 251121
Shot in the Dark
- 061F10
≈ Clock Chimes Thirteen
Analogous -30° +30°
- 251121
Shot in the Dark
- 1E1429
≈ Inside
- 291017
≈ Dark Danger
Triadic +120° +240°
- 251121
Shot in the Dark
- 1F1901
≈ Noir Mystique
- 001D24
≈ Stellar Explorer
Split-complementary +150° +210°
- 251121
Shot in the Dark
- 151C05
≈ Pinch of Pepper
- 001F1B
≈ Stellar Explorer
Tetradic +90° +180° +270°
- 251121
Shot in the Dark
- 261403
≈ Cannon Black
- 061F10
≈ Clock Chimes Thirteen
- 061B2B
≈ Oxford by Night
Contrast & accessibility
Ag
AAAOn white
WCAG 17.78:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #251121;
--shot-in-the-dark-rgb: 37 17 33;
--shot-in-the-dark-oklch: oklch(0.214 0.043 334.8);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(312 37% 11%);
border-color: oklch(0.214 0.043 334.8);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #251121;
--color-shot-in-the-dark-50: #fef1fa;
--color-shot-in-the-dark-100: #f2e3ed;
--color-shot-in-the-dark-200: #e1cedb;
--color-shot-in-the-dark-300: #c6afc0;
--color-shot-in-the-dark-400: #af95a9;
--color-shot-in-the-dark-500: #997c92;
--color-shot-in-the-dark-600: #81697b;
--color-shot-in-the-dark-700: #675463;
--color-shot-in-the-dark-800: #4c3d49;
--color-shot-in-the-dark-900: #352a33;
--color-shot-in-the-dark-950: #20181e;
}SCSS
$shot-in-the-dark: #251121;
$shot-in-the-dark-rgb: 37, 17, 33;
$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);
}