#802212#802212

#802212 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.131 H 32.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#802212
RGBrgb(128, 34, 18)
HSLhsl(9, 75%, 29%)
HSVhsv(9, 86%, 50%)
CMYKcmyk(0%, 73.4%, 85.9%, 49.8%)
CIE-LABlab(28.85, 39.42, 33.03)
CIE-LCHlch(28.85, 51.43, 39.95°)
OKLaboklab(40.17% 0.1112 0.07)
OKLCHoklch(40.17% 0.131 32.2)
XYZxyz(9.5844, 5.7784, 1.1828)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802212 #127080
analogous
#801239 #802212 #805912
triadic
#802212 #128022 #221280
tetradic
#802212 #398012 #127080 #591280
square
#802212 #398012 #127080 #591280
split-complementary
#802212 #128059 #123980
monochromatic
#1B0704 #4A140A #802212 #B6301A #E1462B

Accessibility & contrast

On white

9.74
#802212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#802212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802212
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802212#FFFFFF#000000##FFFFFF
##8022121.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370F
Deuteranopia (green-blind)
#554C0D
Tritanopia (blue-blind)
#8E001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802212;
/* rgb */ color: rgb(128, 34, 18);
/* oklch */ color: oklch(40.2% 0.131 32.2);
Tailwind
colors: {
  custom: {
    50: '#ad6452',
    500: '#802212',
    950: '#000000',
  },
}
SCSS
$custom: #802212;
$custom-light: #ad6452;
$custom-dark: #000000;
JSON
{
  "hex": "#802212",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 8.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.13135,
    "h": 32.2
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#802212
secondary
#38A3B6
accent
#D7F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #802212

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

Preview Lab → · Contrast checker → · Palette generator →

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