#21001B#21001B

#21001B is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.9% C 0.075 H 336.2°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#21001B
RGBrgb(33, 0, 27)
HSLhsl(311, 100%, 6%)
HSVhsv(311, 100%, 13%)
CMYKcmyk(0%, 100%, 18.2%, 87.1%)
CIE-LABlab(3.64, 18.12, -9.00)
CIE-LCHlch(3.64, 20.23, 333.60°)
OKLaboklab(16.92% 0.0684 -0.0302)
OKLCHoklch(16.92% 0.075 336.2)
XYZxyz(0.8250, 0.4025, 1.0709)
Luminance0.0040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21001B #002106
analogous
#170021 #21001B #21000B
triadic
#21001B #1B2100 #001B21
tetradic
#21001B #211700 #002106 #000B21
square
#21001B #211700 #002106 #000B21
split-complementary
#21001B #0B2100 #002117
monochromatic
#1F0019 #1F0019 #21001B #5E004D #9B007F

Accessibility & contrast

On white

19.44
#21001B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21001B
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21001B#FFFFFF#000000##FFFFFF
##21001B1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091C
Deuteranopia (green-blind)
#0A0F1A
Tritanopia (blue-blind)
#23010B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21001b;
/* rgb */ color: rgb(33, 0, 27);
/* oklch */ color: oklch(16.9% 0.075 336.2);
Tailwind
colors: {
  custom: {
    50: '#5c4657',
    500: '#21001b',
    950: '#000000',
  },
}
SCSS
$custom: #21001b;
$custom-light: #5c4657;
$custom-dark: #000000;
JSON
{
  "hex": "#21001b",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 27
  },
  "hsl": {
    "h": 310.909,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16916,
    "c": 0.0748,
    "h": 336.2
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#21001B
secondary
#136A23
accent
#FF5029
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21001B

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

Preview Lab → · Contrast checker → · Palette generator →

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