Nearest named color · #261021
#261021
Nearest named color: Shot in the Dark
#261021 (rgb(38 16 33), hsl(314 41% 11%), oklch(0.213 0.046 336.2)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#261021
oklch(0.213 0.046 336.2)
Color conversions
- HEX
- #261021
- RGB
- rgb(38 16 33)
- HSL
- hsl(314 41% 11%)
- HWB
- hwb(314 6% 85%)
- OKLCH
- oklch(0.213 0.046 336.2)
- OKLab
- oklab(0.213 0.042 -0.019)
- CIE Lab
- lab(8.08 14.03 -6.79)
- LCH
- lch(8.08 15.59 334.2)
- CMYK
- cmyk(0% 58% 13% 85%)
Tints · Shades · Tones
Tints
- 392434
- 4D3947
- 614E5C
- 766571
- 8C7D87
- A2969E
- B8AFB6
- CFC9CE
- E7E4E6
Shades
- 200C1B
- 190916
- 130610
- 0D040B
- 080206
- 040103
- 020001
- 010000
- 000000
Tones
- 2F1A2A
- 372432
- 402F3B
- 493A45
- 52454E
- 5B5058
- 645C62
- 6D686C
- 777476
Color harmonies
Complementary +180°
- 261021
Shot in the Dark
- 031F10
≈ Clock Chimes Thirteen
Analogous -30° +30°
- 261021
Shot in the Dark
- 1E132A
≈ Inside
- 2A0F16
≈ Dark Danger
Triadic +120° +240°
- 261021
Shot in the Dark
- 1F1900
≈ Noir Mystique
- 001D24
≈ Stellar Explorer
Split-complementary +150° +210°
- 261021
Shot in the Dark
- 141D04
≈ Yuzu Soy
- 001E1C
≈ Stellar Explorer
Tetradic +90° +180° +270°
- 261021
Shot in the Dark
- 271401
≈ Cannon Black
- 031F10
≈ Clock Chimes Thirteen
- 041B2D
≈ Oxford by Night
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #261021;
--shot-in-the-dark-rgb: 38 16 33;
--shot-in-the-dark-oklch: oklch(0.213 0.046 336.2);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(314 41% 11%);
border-color: oklch(0.213 0.046 336.2);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #261021;
--color-shot-in-the-dark-50: #fff0fa;
--color-shot-in-the-dark-100: #f3e2ed;
--color-shot-in-the-dark-200: #e2cddb;
--color-shot-in-the-dark-300: #c8afc0;
--color-shot-in-the-dark-400: #b194a9;
--color-shot-in-the-dark-500: #9b7b92;
--color-shot-in-the-dark-600: #83687b;
--color-shot-in-the-dark-700: #695363;
--color-shot-in-the-dark-800: #4d3d49;
--color-shot-in-the-dark-900: #352a33;
--color-shot-in-the-dark-950: #20171e;
}SCSS
$shot-in-the-dark: #261021;
$shot-in-the-dark-rgb: 38, 16, 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);
}