Nearest named color · #2B1004
#2B1004
Nearest named color: Shadow Play
#2B1004 (rgb(43 16 4), hsl(18 83% 9%), oklch(0.212 0.05 45.1)) is closest to the named color Shadow Play. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2B1004
oklch(0.212 0.05 45.1)
Color conversions
- HEX
- #2b1004
- RGB
- rgb(43 16 4)
- HSL
- hsl(18 83% 9%)
- HWB
- hwb(18 2% 83%)
- OKLCH
- oklch(0.212 0.05 45.1)
- OKLab
- oklab(0.212 0.035 0.035)
- CIE Lab
- lab(8.27 13.46 11.04)
- LCH
- lch(8.27 17.41 39.4)
- CMYK
- cmyk(0% 63% 91% 83%)
Tints · Shades · Tones
Tints
- 3E2418
- 52392E
- 664F45
- 7B665D
- 907E76
- A59690
- BBAFAA
- D1C9C6
- E8E4E2
Shades
- 240C03
- 1D0902
- 160601
- 100401
- 0A0200
- 050100
- 020000
- 010000
- 000000
Tones
- 341A0F
- 3C251A
- 442F26
- 4D3A32
- 55453E
- 5E514B
- 665C58
- 6F6865
- 777472
Color harmonies
Complementary +180°
- 2B1004
Shadow Play
- 001C27
≈ Oxford by Night
Analogous -30° +30°
- 2B1004
Shadow Play
- 2C0E11
≈ Dark Danger
- 251500
≈ Cannon Black
Triadic +120° +240°
- 2B1004
Shadow Play
- 001F14
≈ Clock Chimes Thirteen
- 17152F
≈ Lost in Sadness
Split-complementary +150° +210°
- 2B1004
Shadow Play
- 001E1E
≈ Stellar Explorer
- 07192F
≈ Oxford by Night
Tetradic +90° +180° +270°
- 2B1004
Shadow Play
- 0E1E05
≈ Yuzu Soy
- 001C27
≈ Oxford by Night
- 211128
≈ Inside
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 {
--shadow-play: #2b1004;
--shadow-play-rgb: 43 16 4;
--shadow-play-oklch: oklch(0.212 0.05 45.1);
}
.element {
color: var(--shadow-play);
background-color: hsl(18 83% 9%);
border-color: oklch(0.212 0.05 45.1);
}Tailwind CSS v4
@theme {
--color-shadow-play: #2b1004;
--color-shadow-play-50: #fff1e9;
--color-shadow-play-100: #f7e3da;
--color-shadow-play-200: #e7cec2;
--color-shadow-play-300: #ceb0a2;
--color-shadow-play-400: #b99686;
--color-shadow-play-500: #a37c6b;
--color-shadow-play-600: #8a695b;
--color-shadow-play-700: #6e5448;
--color-shadow-play-800: #523d35;
--color-shadow-play-900: #392a24;
--color-shadow-play-950: #231713;
}SCSS
$shadow-play: #2b1004;
$shadow-play-rgb: 43, 16, 4;
$shadow-play-light: mix(#fff, $shadow-play, 20%);
$shadow-play-dark: mix(#000, $shadow-play, 20%);
.element {
color: $shadow-play;
box-shadow: 0 0 0 2px rgba($shadow-play, 0.35);
}