#21040C#21040C

#21040C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 17.0% C 0.053 H 5.7°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#21040C
RGBrgb(33, 4, 12)
HSLhsl(343, 78%, 7%)
HSVhsv(343, 88%, 13%)
CMYKcmyk(0%, 87.9%, 63.6%, 87.1%)
CIE-LABlab(3.95, 13.18, 1.18)
CIE-LCHlch(3.95, 13.24, 5.10°)
OKLaboklab(17.03% 0.0526 0.0053)
OKLCHoklch(17.03% 0.053 5.7)
XYZxyz(0.7370, 0.4368, 0.3933)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21040C #042119
analogous
#21041B #21040C #210B04
triadic
#21040C #0C2104 #040C21
tetradic
#21040C #1B2104 #042119 #0B0421
square
#21040C #1B2104 #042119 #0B0421
split-complementary
#21040C #04210B #041B21
monochromatic
#1B030A #1B030A #21040C #580B20 #8E1134

Accessibility & contrast

On white

19.31
#21040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#21040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21040C
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21040C#FFFFFF#000000##FFFFFF
##21040C1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090A0C
Deuteranopia (green-blind)
#11100B
Tritanopia (blue-blind)
#250207
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #21040c;
/* rgb */ color: rgb(33, 4, 12);
/* oklch */ color: oklch(17.0% 0.053 5.7);
Tailwind
colors: {
  custom: {
    50: '#5c484c',
    500: '#21040c',
    950: '#000000',
  },
}
SCSS
$custom: #21040c;
$custom-light: #5c484c;
$custom-dark: #000000;
JSON
{
  "hex": "#21040c",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 343.448,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.1703,
    "c": 0.05286,
    "h": 5.7
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#21040C
secondary
#1D6450
accent
#F5BF33
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21040C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21040C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva