#201218#201218

#201218 is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.4% C 0.025 H 352.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#201218
RGBrgb(32, 18, 24)
HSLhsl(334, 28%, 10%)
HSVhsv(334, 44%, 13%)
CMYKcmyk(0%, 43.8%, 25%, 87.5%)
CIE-LABlab(7.28, 8.38, -1.30)
CIE-LCHlch(7.28, 8.48, 351.19°)
OKLaboklab(20.38% 0.0253 -0.0034)
OKLCHoklch(20.38% 0.025 352.3)
XYZxyz(0.9769, 0.8057, 0.9680)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201218 #12201A
analogous
#20121F #201218 #201312
triadic
#201218 #182012 #121820
tetradic
#201218 #1F2012 #12201A #131220
square
#201218 #1F2012 #12201A #131220
split-complementary
#201218 #122013 #121F20
monochromatic
#140B0F #140B0F #201218 #472835 #6E3E53

Accessibility & contrast

On white

18.08
#201218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#201218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201218
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201218#FFFFFF#000000##FFFFFF
##2012181.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131518
Deuteranopia (green-blind)
#171718
Tritanopia (blue-blind)
#221214
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #201218;
/* rgb */ color: rgb(32, 18, 24);
/* oklch */ color: oklch(20.4% 0.025 352.3);
Tailwind
colors: {
  custom: {
    50: '#5b4f54',
    500: '#201218',
    950: '#000000',
  },
}
SCSS
$custom: #201218;
$custom-light: #5b4f54;
$custom-dark: #000000;
JSON
{
  "hex": "#201218",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 334.286,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20376,
    "c": 0.02549,
    "h": 352.3
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#201218
secondary
#395549
accent
#C49B63
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #201218

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

Preview Lab → · Contrast checker → · Palette generator →

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