#210018#210018

#210018 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.7% C 0.072 H 340.5°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#210018
RGBrgb(33, 0, 24)
HSLhsl(316, 100%, 6%)
HSVhsv(316, 100%, 13%)
CMYKcmyk(0%, 100%, 27.3%, 87.1%)
CIE-LABlab(3.52, 17.29, -6.77)
CIE-LCHlch(3.52, 18.57, 338.61°)
OKLaboklab(16.71% 0.0683 -0.0242)
OKLCHoklch(16.71% 0.072 340.5)
XYZxyz(0.7921, 0.3894, 0.8974)
Luminance0.0039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210018 #002109
analogous
#1A0021 #210018 #210008
triadic
#210018 #182100 #001821
tetradic
#210018 #211A00 #002109 #000821
square
#210018 #211A00 #002109 #000821
split-complementary
#210018 #082100 #00211A
monochromatic
#1F0016 #1F0016 #210018 #5E0045 #9B0071

Accessibility & contrast

On white

19.48
#210018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210018
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210018#FFFFFF#000000##FFFFFF
##2100181.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010919
Deuteranopia (green-blind)
#0B0F17
Tritanopia (blue-blind)
#240109
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #210018;
/* rgb */ color: rgb(33, 0, 24);
/* oklch */ color: oklch(16.7% 0.072 340.5);
Tailwind
colors: {
  custom: {
    50: '#5c4654',
    500: '#210018',
    950: '#000000',
  },
}
SCSS
$custom: #210018;
$custom-light: #5c4654;
$custom-dark: #000000;
JSON
{
  "hex": "#210018",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 24
  },
  "hsl": {
    "h": 316.364,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16705,
    "c": 0.07242,
    "h": 340.5
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#210018
secondary
#136A2B
accent
#FF6329
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040002
muted
#797778

Preview Lab

Preview with #210018

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

Preview Lab → · Contrast checker → · Palette generator →

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