#210218#210218

#210218 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.2% C 0.066 H 341.1°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#210218
RGBrgb(33, 2, 24)
HSLhsl(317, 89%, 7%)
HSVhsv(317, 94%, 13%)
CMYKcmyk(0%, 93.9%, 27.3%, 87.1%)
CIE-LABlab(3.91, 16.49, -6.20)
CIE-LCHlch(3.91, 17.61, 339.39°)
OKLaboklab(17.17% 0.0624 -0.0213)
OKLCHoklch(17.17% 0.066 341.1)
XYZxyz(0.8138, 0.4328, 0.9047)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210218 #02210B
analogous
#1B0221 #210218 #210209
triadic
#210218 #182102 #021821
tetradic
#210218 #211B02 #02210B #020921
square
#210218 #211B02 #02210B #020921
split-complementary
#210218 #092102 #02211B
monochromatic
#1D0215 #1D0215 #210218 #5B0542 #94096C

Accessibility & contrast

On white

19.33
#210218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#210218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210218
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210218#FFFFFF#000000##FFFFFF
##2102181.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040A19
Deuteranopia (green-blind)
#0D1017
Tritanopia (blue-blind)
#24020B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #210218;
/* rgb */ color: rgb(33, 2, 24);
/* oklch */ color: oklch(17.2% 0.066 341.1);
Tailwind
colors: {
  custom: {
    50: '#5c4754',
    500: '#210218',
    950: '#000000',
  },
}
SCSS
$custom: #210218;
$custom-light: #5c4754;
$custom-dark: #000000;
JSON
{
  "hex": "#210218",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 317.419,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17174,
    "c": 0.06597,
    "h": 341.1
  },
  "luminance": 0.00433
}

Semantic roles & 50–950 ramp

primary
#210218
secondary
#18672F
accent
#FF6729
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #210218

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

Preview Lab → · Contrast checker → · Palette generator →

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