Nearest named color · #1D1425
#1D1425
Nearest named color: Shot in the Dark
#1D1425 (rgb(29 20 37), hsl(272 30% 11%), oklch(0.211 0.035 307.9)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1D1425
oklch(0.211 0.035 307.9)
Color conversions
- HEX
- #1d1425
- RGB
- rgb(29 20 37)
- HSL
- hsl(272 30% 11%)
- HWB
- hwb(272 8% 85%)
- OKLCH
- oklch(0.211 0.035 307.9)
- OKLab
- oklab(0.211 0.022 -0.028)
- CIE Lab
- lab(8.01 8.02 -10.07)
- LCH
- lch(8.01 12.87 308.5)
- CMYK
- cmyk(22% 46% 0% 85%)
Tints · Shades · Tones
Tints
- 302738
- 433C4B
- 58515F
- 6E6875
- 857F8A
- 9C97A1
- B4B0B7
- CCCACF
- E5E4E7
Shades
- 18101F
- 130C19
- 0E0813
- 09050D
- 050308
- 030104
- 010102
- 000000
- 000000
Tones
- 261E2D
- 2F2736
- 38323F
- 423C48
- 4C4751
- 56525A
- 605D63
- 6B686D
- 757476
Color harmonies
Complementary +180°
- 1D1425
Shot in the Dark
- 141C09
≈ Pinch of Pepper
Analogous -30° +30°
- 1D1425
Shot in the Dark
- 151729
≈ Sambucus
- 23121E
≈ Inside
Triadic +120° +240°
- 1D1425
Shot in the Dark
- 231506
≈ Cannon Black
- 011E1B
≈ Stellar Explorer
Split-complementary +150° +210°
- 1D1425
Shot in the Dark
- 1D1905
≈ Noir Mystique
- 091D12
≈ Pinch of Pepper
Tetradic +90° +180° +270°
- 1D1425
Shot in the Dark
- 26130C
≈ Severely Burnt Toast
- 141C09
≈ Pinch of Pepper
- 021C23
≈ Black Stallion
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1d1425;
--shot-in-the-dark-rgb: 29 20 37;
--shot-in-the-dark-oklch: oklch(0.211 0.035 307.9);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(272 30% 11%);
border-color: oklch(0.211 0.035 307.9);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1d1425;
--color-shot-in-the-dark-50: #f8f3fd;
--color-shot-in-the-dark-100: #ebe5f1;
--color-shot-in-the-dark-200: #d9d0e0;
--color-shot-in-the-dark-300: #bdb3c5;
--color-shot-in-the-dark-400: #a499af;
--color-shot-in-the-dark-500: #8d8099;
--color-shot-in-the-dark-600: #776d81;
--color-shot-in-the-dark-700: #5f5767;
--color-shot-in-the-dark-800: #453f4c;
--color-shot-in-the-dark-900: #302c35;
--color-shot-in-the-dark-950: #1c1920;
}SCSS
$shot-in-the-dark: #1d1425;
$shot-in-the-dark-rgb: 29, 20, 37;
$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);
}