#201212#201212

#201212 is a very dark, muted red. Relative luminance 0.008; OKLCH L 20.1% C 0.024 H 19.3°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#201212
RGBrgb(32, 18, 18)
HSLhsl(0, 28%, 10%)
HSVhsv(0, 44%, 13%)
CMYKcmyk(0%, 43.8%, 43.8%, 87.5%)
CIE-LABlab(7.08, 7.14, 2.55)
CIE-LCHlch(7.08, 7.58, 19.65°)
OKLaboklab(20.14% 0.0222 0.0078)
OKLCHoklch(20.14% 0.024 19.3)
XYZxyz(0.9212, 0.7834, 0.6748)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201212 #122020
analogous
#201219 #201212 #201912
triadic
#201212 #122012 #121220
tetradic
#201212 #192012 #122020 #191220
square
#201212 #192012 #122020 #191220
split-complementary
#201212 #122019 #121920
monochromatic
#140B0B #140B0B #201212 #472828 #6E3E3E

Accessibility & contrast

On white

18.16
#201212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201212
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201212#FFFFFF#000000##FFFFFF
##2012121.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151412
Deuteranopia (green-blind)
#181712
Tritanopia (blue-blind)
#231012
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #201212;
/* rgb */ color: rgb(32, 18, 18);
/* oklch */ color: oklch(20.1% 0.024 19.3);
Tailwind
colors: {
  custom: {
    50: '#5b4f50',
    500: '#201212',
    950: '#000000',
  },
}
SCSS
$custom: #201212;
$custom-light: #5b4f50;
$custom-dark: #000000;
JSON
{
  "hex": "#201212",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20139,
    "c": 0.0235,
    "h": 19.3
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#201212
secondary
#395555
accent
#C4C463
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #201212

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

Preview Lab → · Contrast checker → · Palette generator →

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