#21051A#21051A

#21051A is a very dark, muted pink. Relative luminance 0.005; OKLCH L 18.0% C 0.059 H 338.7°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#21051A
RGBrgb(33, 5, 26)
HSLhsl(315, 74%, 7%)
HSVhsv(315, 85%, 13%)
CMYKcmyk(0%, 84.8%, 21.2%, 87.1%)
CIE-LABlab(4.58, 15.82, -6.81)
CIE-LCHlch(4.58, 17.23, 336.71°)
OKLaboklab(17.95% 0.0551 -0.0215)
OKLCHoklch(17.95% 0.059 338.7)
XYZxyz(0.8679, 0.5065, 1.0291)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21051A #05210C
analogous
#1A0521 #21051A #21050C
triadic
#21051A #1A2105 #051A21
tetradic
#21051A #211A05 #05210C #050C21
square
#21051A #211A05 #05210C #050C21
split-complementary
#21051A #0C2105 #05211A
monochromatic
#1B0415 #1B0415 #21051A #560D44 #8B156E

Accessibility & contrast

On white

19.07
#21051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#21051A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21051A
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21051A#FFFFFF#000000##FFFFFF
##21051A1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060D1B
Deuteranopia (green-blind)
#0E1119
Tritanopia (blue-blind)
#23060E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #21051a;
/* rgb */ color: rgb(33, 5, 26);
/* oklch */ color: oklch(18.0% 0.059 338.7);
Tailwind
colors: {
  custom: {
    50: '#5c4856',
    500: '#21051a',
    950: '#000000',
  },
}
SCSS
$custom: #21051a;
$custom-light: #5c4856;
$custom-dark: #000000;
JSON
{
  "hex": "#21051a",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 315,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17951,
    "c": 0.05917,
    "h": 338.7
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#21051A
secondary
#1F6230
accent
#F06637
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #21051A

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

Preview Lab → · Contrast checker → · Palette generator →

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