#21001A#21001A

#21001A is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.8% C 0.074 H 337.6°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#21001A
RGBrgb(33, 0, 26)
HSLhsl(313, 100%, 6%)
HSVhsv(313, 100%, 13%)
CMYKcmyk(0%, 100%, 21.2%, 87.1%)
CIE-LABlab(3.60, 17.84, -8.25)
CIE-LCHlch(3.60, 19.65, 335.17°)
OKLaboklab(16.84% 0.0684 -0.0282)
OKLCHoklch(16.84% 0.074 337.6)
XYZxyz(0.8137, 0.3980, 1.0111)
Luminance0.0040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21001A #002107
analogous
#180021 #21001A #21000A
triadic
#21001A #1A2100 #001A21
tetradic
#21001A #211800 #002107 #000A21
square
#21001A #211800 #002107 #000A21
split-complementary
#21001A #0A2100 #002118
monochromatic
#1F0018 #1F0018 #21001A #5E004A #9B007A

Accessibility & contrast

On white

19.45
#21001A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#21001A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21001A
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21001A#FFFFFF#000000##FFFFFF
##21001A1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01091B
Deuteranopia (green-blind)
#0B0F19
Tritanopia (blue-blind)
#24010B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21001a;
/* rgb */ color: rgb(33, 0, 26);
/* oklch */ color: oklch(16.8% 0.074 337.6);
Tailwind
colors: {
  custom: {
    50: '#5c4656',
    500: '#21001a',
    950: '#000000',
  },
}
SCSS
$custom: #21001a;
$custom-light: #5c4656;
$custom-dark: #000000;
JSON
{
  "hex": "#21001a",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 26
  },
  "hsl": {
    "h": 312.727,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16844,
    "c": 0.07399,
    "h": 337.6
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#21001A
secondary
#136A25
accent
#FF5629
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21001A

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

Preview Lab → · Contrast checker → · Palette generator →

#21001A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva