#210212#210212

#210212 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.8% C 0.062 H 351.5°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#210212
RGBrgb(33, 2, 18)
HSLhsl(329, 89%, 7%)
HSVhsv(329, 94%, 13%)
CMYKcmyk(0%, 93.9%, 45.5%, 87.1%)
CIE-LABlab(3.71, 15.07, -2.35)
CIE-LCHlch(3.71, 15.25, 351.13°)
OKLaboklab(16.83% 0.0609 -0.0091)
OKLCHoklch(16.83% 0.062 351.5)
XYZxyz(0.7581, 0.4105, 0.6115)
Luminance0.0041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210212 #022111
analogous
#210221 #210212 #210203
triadic
#210212 #122102 #021221
tetradic
#210212 #212102 #022111 #020321
square
#210212 #212102 #022111 #020321
split-complementary
#210212 #032102 #022121
monochromatic
#1D0210 #1D0210 #210212 #5B0531 #940951

Accessibility & contrast

On white

19.41
#210212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#210212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210212
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210212#FFFFFF#000000##FFFFFF
##2102121.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060912
Deuteranopia (green-blind)
#0F0F11
Tritanopia (blue-blind)
#240108
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #210212;
/* rgb */ color: rgb(33, 2, 18);
/* oklch */ color: oklch(16.8% 0.062 351.5);
Tailwind
colors: {
  custom: {
    50: '#5c4750',
    500: '#210212',
    950: '#000000',
  },
}
SCSS
$custom: #210212;
$custom-light: #5c4750;
$custom-dark: #000000;
JSON
{
  "hex": "#210212",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 329.032,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16827,
    "c": 0.06156,
    "h": 351.5
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#210212
secondary
#18673E
accent
#FF9029
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #210212

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

Preview Lab → · Contrast checker → · Palette generator →

#210212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva