#802717#802717

#802717 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.126 H 32.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#802717
RGBrgb(128, 39, 23)
HSLhsl(9, 70%, 30%)
HSVhsv(9, 82%, 50%)
CMYKcmyk(0%, 69.5%, 82%, 49.8%)
CIE-LABlab(29.67, 37.46, 31.09)
CIE-LCHlch(29.67, 48.68, 39.68°)
OKLaboklab(40.8% 0.1061 0.0675)
OKLCHoklch(40.8% 0.126 32.5)
XYZxyz(9.7834, 6.1035, 1.4734)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802717 #177080
analogous
#80173C #802717 #805C17
triadic
#802717 #178027 #271780
tetradic
#802717 #3C8017 #177080 #5C1780
square
#802717 #3C8017 #177080 #5C1780
split-complementary
#802717 #17805C #173C80
monochromatic
#1A0805 #4C170E #802717 #B43720 #DB5036

Accessibility & contrast

On white

9.46
#802717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#802717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802717
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802717#FFFFFF#000000##FFFFFF
##8027171.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#8D0B24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802717;
/* rgb */ color: rgb(128, 39, 23);
/* oklch */ color: oklch(40.8% 0.126 32.5);
Tailwind
colors: {
  custom: {
    50: '#ac6655',
    500: '#802717',
    950: '#000000',
  },
}
SCSS
$custom: #802717;
$custom-light: #ac6655;
$custom-dark: #000000;
JSON
{
  "hex": "#802717",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 9.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.12574,
    "h": 32.5
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#802717
secondary
#3EA2B4
accent
#D1EC3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802717

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

Preview Lab → · Contrast checker → · Palette generator →

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