#21011B#21011B

#21011B is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.1% C 0.072 H 336.3°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#21011B
RGBrgb(33, 1, 27)
HSLhsl(311, 94%, 7%)
HSVhsv(311, 97%, 13%)
CMYKcmyk(0%, 97%, 18.2%, 87.1%)
CIE-LABlab(3.83, 17.72, -8.71)
CIE-LCHlch(3.83, 19.74, 333.84°)
OKLaboklab(17.15% 0.0656 -0.0287)
OKLCHoklch(17.15% 0.072 336.3)
XYZxyz(0.8359, 0.4243, 1.0746)
Luminance0.0042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21011B #012107
analogous
#170121 #21011B #21010B
triadic
#21011B #1B2101 #011B21
tetradic
#21011B #211701 #012107 #010B21
square
#21011B #211701 #012107 #010B21
split-complementary
#21011B #0B2101 #012117
monochromatic
#1E0118 #1E0118 #21011B #5C034C #98057C

Accessibility & contrast

On white

19.36
#21011B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21011B
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21011B#FFFFFF#000000##FFFFFF
##21011B1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#0B101A
Tritanopia (blue-blind)
#23020C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #21011b;
/* rgb */ color: rgb(33, 1, 27);
/* oklch */ color: oklch(17.1% 0.072 336.3);
Tailwind
colors: {
  custom: {
    50: '#5c4657',
    500: '#21011b',
    950: '#000000',
  },
}
SCSS
$custom: #21011b;
$custom-light: #5c4657;
$custom-dark: #000000;
JSON
{
  "hex": "#21011b",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 27
  },
  "hsl": {
    "h": 311.25,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17147,
    "c": 0.0716,
    "h": 336.3
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#21011B
secondary
#156825
accent
#FF5129
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21011B

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

Preview Lab → · Contrast checker → · Palette generator →

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