#802217#802217

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

Color values

HEX#802217
RGBrgb(128, 34, 23)
HSLhsl(6, 70%, 30%)
HSVhsv(6, 82%, 50%)
CMYKcmyk(0%, 73.4%, 82%, 49.8%)
CIE-LABlab(28.89, 39.59, 30.30)
CIE-LCHlch(28.89, 49.85, 37.43°)
OKLaboklab(40.22% 0.1127 0.0658)
OKLCHoklch(40.22% 0.131 30.3)
XYZxyz(9.6299, 5.7966, 1.4222)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802217 #177580
analogous
#801740 #802217 #805717
triadic
#802217 #178022 #221780
tetradic
#802217 #408017 #177580 #571780
square
#802217 #408017 #177580 #571780
split-complementary
#802217 #178057 #174080
monochromatic
#1A0705 #4C140E #802217 #B43020 #DB4836

Accessibility & contrast

On white

9.73
#802217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802217
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802217#FFFFFF#000000##FFFFFF
##8022171.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#8D0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802217;
/* rgb */ color: rgb(128, 34, 23);
/* oklch */ color: oklch(40.2% 0.131 30.3);
Tailwind
colors: {
  custom: {
    50: '#ad6455',
    500: '#802217',
    950: '#000000',
  },
}
SCSS
$custom: #802217;
$custom-light: #ad6455;
$custom-dark: #000000;
JSON
{
  "hex": "#802217",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 6.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.1305,
    "h": 30.3
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#802217
secondary
#3EA8B4
accent
#DAEC3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #802217

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

Preview Lab → · Contrast checker → · Palette generator →

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