Nearest named color · #261022
#261022
Nearest named color: Shot in the Dark
#261022 (rgb(38 16 34), hsl(311 41% 11%), oklch(0.214 0.047 334.2)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#261022
oklch(0.214 0.047 334.2)
Color conversions
- HEX
- #261022
- RGB
- rgb(38 16 34)
- HSL
- hsl(311 41% 11%)
- HWB
- hwb(311 6% 85%)
- OKLCH
- oklch(0.214 0.047 334.2)
- OKLab
- oklab(0.214 0.043 -0.021)
- CIE Lab
- lab(8.13 14.2 -7.49)
- LCH
- lch(8.13 16.05 332.2)
- CMYK
- cmyk(0% 58% 11% 85%)
Tints · Shades · Tones
Tints
- 392435
- 4D3948
- 614F5D
- 766572
- 8C7D88
- A2969F
- B8AFB6
- CFC9CE
- E7E4E6
Shades
- 200C1C
- 190916
- 130611
- 0D040B
- 080207
- 040103
- 020001
- 010000
- 000000
Tones
- 2F1A2B
- 372433
- 402F3C
- 493A45
- 52454F
- 5B5058
- 645C62
- 6D686C
- 777476
Color harmonies
Complementary +180°
- 261022
Shot in the Dark
- 041F0F
≈ Clock Chimes Thirteen
Analogous -30° +30°
- 261022
Shot in the Dark
- 1E132B
≈ Blacklist
- 2B0F17
≈ Dark Danger
Triadic +120° +240°
- 261022
Shot in the Dark
- 201900
≈ Noir Mystique
- 001D24
≈ Stellar Explorer
Split-complementary +150° +210°
- 261022
Shot in the Dark
- 151D03
≈ Yuzu Soy
- 001F1B
≈ Stellar Explorer
Tetradic +90° +180° +270°
- 261022
Shot in the Dark
- 281400
≈ Cannon Black
- 041F0F
≈ Clock Chimes Thirteen
- 031B2D
≈ Oxford by Night
Contrast & accessibility
Ag
AAAOn white
WCAG 17.80:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #261022;
--shot-in-the-dark-rgb: 38 16 34;
--shot-in-the-dark-oklch: oklch(0.214 0.047 334.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(311 41% 11%);
border-color: oklch(0.214 0.047 334.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #261022;
--color-shot-in-the-dark-50: #fff0fa;
--color-shot-in-the-dark-100: #f3e2ee;
--color-shot-in-the-dark-200: #e2cddc;
--color-shot-in-the-dark-300: #c8afc1;
--color-shot-in-the-dark-400: #b194aa;
--color-shot-in-the-dark-500: #9a7b93;
--color-shot-in-the-dark-600: #82687c;
--color-shot-in-the-dark-700: #685364;
--color-shot-in-the-dark-800: #4c3c4a;
--color-shot-in-the-dark-900: #352a33;
--color-shot-in-the-dark-950: #20171f;
}SCSS
$shot-in-the-dark: #261022;
$shot-in-the-dark-rgb: 38, 16, 34;
$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);
}