#802117#802117

#802117 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.131 H 29.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#802117
RGBrgb(128, 33, 23)
HSLhsl(6, 70%, 30%)
HSVhsv(6, 82%, 50%)
CMYKcmyk(0%, 74.2%, 82%, 49.8%)
CIE-LABlab(28.75, 39.99, 30.15)
CIE-LCHlch(28.75, 50.08, 37.02°)
OKLaboklab(40.11% 0.1139 0.0655)
OKLCHoklch(40.11% 0.131 29.9)
XYZxyz(9.6017, 5.7402, 1.4128)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802117 #177680
analogous
#801742 #802117 #805517
triadic
#802117 #178021 #211780
tetradic
#802117 #428017 #177680 #551780
square
#802117 #428017 #177680 #551780
split-complementary
#802117 #178055 #174280
monochromatic
#1A0705 #4C140E #802117 #B42E20 #DB4636

Accessibility & contrast

On white

9.78
#802117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#802117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802117
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802117#FFFFFF#000000##FFFFFF
##8021171.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802117;
/* rgb */ color: rgb(128, 33, 23);
/* oklch */ color: oklch(40.1% 0.131 29.9);
Tailwind
colors: {
  custom: {
    50: '#ad6355',
    500: '#802117',
    950: '#000000',
  },
}
SCSS
$custom: #802117;
$custom-light: #ad6355;
$custom-dark: #000000;
JSON
{
  "hex": "#802117",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.13142,
    "h": 29.9
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#802117
secondary
#3EA9B4
accent
#DBEC3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #802117

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

Preview Lab → · Contrast checker → · Palette generator →

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