#21040D#21040D

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

Color values

HEX#21040D
RGBrgb(33, 4, 13)
HSLhsl(341, 78%, 7%)
HSVhsv(341, 88%, 13%)
CMYKcmyk(0%, 87.9%, 60.6%, 87.1%)
CIE-LABlab(3.97, 13.34, 0.74)
CIE-LCHlch(3.97, 13.37, 3.19°)
OKLaboklab(17.07% 0.0531 0.0034)
OKLCHoklch(17.07% 0.053 3.6)
XYZxyz(0.7433, 0.4393, 0.4263)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21040D #042118
analogous
#21041C #21040D #210A04
triadic
#21040D #0D2104 #040D21
tetradic
#21040D #1C2104 #042118 #0A0421
square
#21040D #1C2104 #042118 #0A0421
split-complementary
#21040D #04210A #041C21
monochromatic
#1B030B #1B030B #21040D #580B23 #8E1138

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21040D#FFFFFF#000000##FFFFFF
##21040D1.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)
#090A0D
Deuteranopia (green-blind)
#11100C
Tritanopia (blue-blind)
#250207
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #21040d;
/* rgb */ color: rgb(33, 4, 13);
/* oklch */ color: oklch(17.1% 0.053 3.6);
Tailwind
colors: {
  custom: {
    50: '#5c484d',
    500: '#21040d',
    950: '#000000',
  },
}
SCSS
$custom: #21040d;
$custom-light: #5c484d;
$custom-dark: #000000;
JSON
{
  "hex": "#21040d",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 341.379,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17069,
    "c": 0.05319,
    "h": 3.6
  },
  "luminance": 0.00439
}

Semantic roles & 50–950 ramp

primary
#21040D
secondary
#1D644E
accent
#F5B933
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21040D

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

Preview Lab → · Contrast checker → · Palette generator →

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