#21010C#21010C

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

Color values

HEX#21010C
RGBrgb(33, 1, 12)
HSLhsl(339, 94%, 7%)
HSVhsv(339, 97%, 13%)
CMYKcmyk(0%, 97%, 63.6%, 87.1%)
CIE-LABlab(3.36, 14.39, 0.32)
CIE-LCHlch(3.36, 14.39, 1.27°)
OKLaboklab(16.3% 0.0616 0.0017)
OKLCHoklch(16.3% 0.062 1.6)
XYZxyz(0.7045, 0.3717, 0.3824)
Luminance0.0037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21010C #012116
analogous
#21011C #21010C #210601
triadic
#21010C #0C2101 #010C21
tetradic
#21010C #1C2101 #012116 #060121
square
#21010C #1C2101 #012116 #060121
split-complementary
#21010C #012106 #011C21
monochromatic
#1E010B #1E010B #21010C #5C0322 #980537

Accessibility & contrast

On white

19.55
#21010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#21010C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21010C
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21010C#FFFFFF#000000##FFFFFF
##21010C1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06080C
Deuteranopia (green-blind)
#100F0B
Tritanopia (blue-blind)
#250005
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #21010c;
/* rgb */ color: rgb(33, 1, 12);
/* oklch */ color: oklch(16.3% 0.062 1.6);
Tailwind
colors: {
  custom: {
    50: '#5c474c',
    500: '#21010c',
    950: '#000000',
  },
}
SCSS
$custom: #21010c;
$custom-light: #5c474c;
$custom-dark: #000000;
JSON
{
  "hex": "#21010c",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 339.375,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16299,
    "c": 0.06163,
    "h": 1.6
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#21010C
secondary
#15684C
accent
#FFB529
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #21010C

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

Preview Lab → · Contrast checker → · Palette generator →

#21010C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva