#21040E#21040E

#21040E is a very dark, muted pink. Relative luminance 0.004; OKLCH L 17.1% C 0.054 H 1.5°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#21040E
RGBrgb(33, 4, 14)
HSLhsl(339, 78%, 7%)
HSVhsv(339, 88%, 13%)
CMYKcmyk(0%, 87.9%, 57.6%, 87.1%)
CIE-LABlab(3.99, 13.51, 0.29)
CIE-LCHlch(3.99, 13.51, 1.22°)
OKLaboklab(17.11% 0.0536 0.0014)
OKLCHoklch(17.11% 0.054 1.5)
XYZxyz(0.7499, 0.4420, 0.4612)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21040E #042117
analogous
#21041D #21040E #210804
triadic
#21040E #0E2104 #040E21
tetradic
#21040E #1D2104 #042117 #080421
square
#21040E #1D2104 #042117 #080421
split-complementary
#21040E #042108 #041D21
monochromatic
#1B030C #1B030C #21040E #580B25 #8E113C

Accessibility & contrast

On white

19.29
#21040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21040E
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21040E#FFFFFF#000000##FFFFFF
##21040E1.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21040e;
/* rgb */ color: rgb(33, 4, 14);
/* oklch */ color: oklch(17.1% 0.054 1.5);
Tailwind
colors: {
  custom: {
    50: '#5c484d',
    500: '#21040e',
    950: '#000000',
  },
}
SCSS
$custom: #21040e;
$custom-light: #5c484d;
$custom-dark: #000000;
JSON
{
  "hex": "#21040e",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 339.31,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17109,
    "c": 0.05357,
    "h": 1.5
  },
  "luminance": 0.00442
}

Semantic roles & 50–950 ramp

primary
#21040E
secondary
#1D644B
accent
#F5B233
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21040E

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

Preview Lab → · Contrast checker → · Palette generator →

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