#802517#802517

#802517 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.128 H 31.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#802517
RGBrgb(128, 37, 23)
HSLhsl(8, 70%, 30%)
HSVhsv(8, 82%, 50%)
CMYKcmyk(0%, 71.1%, 82%, 49.8%)
CIE-LABlab(29.35, 38.34, 30.76)
CIE-LCHlch(29.35, 49.15, 38.75°)
OKLaboklab(40.56% 0.1088 0.0668)
OKLCHoklch(40.56% 0.128 31.6)
XYZxyz(9.7194, 5.9757, 1.4521)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802517 #177280
analogous
#80173E #802517 #805A17
triadic
#802517 #178025 #251780
tetradic
#802517 #3E8017 #177280 #5A1780
square
#802517 #3E8017 #177280 #5A1780
split-complementary
#802517 #17805A #173E80
monochromatic
#1A0705 #4C160E #802517 #B43420 #DB4C36

Accessibility & contrast

On white

9.57
#802517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#802517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802517
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802517#FFFFFF#000000##FFFFFF
##8025171.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403815
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#8D0523
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802517;
/* rgb */ color: rgb(128, 37, 23);
/* oklch */ color: oklch(40.6% 0.128 31.6);
Tailwind
colors: {
  custom: {
    50: '#ad6555',
    500: '#802517',
    950: '#000000',
  },
}
SCSS
$custom: #802517;
$custom-light: #ad6555;
$custom-dark: #000000;
JSON
{
  "hex": "#802517",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 8,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.12766,
    "h": 31.6
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#802517
secondary
#3EA5B4
accent
#D5EC3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802517

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

Preview Lab → · Contrast checker → · Palette generator →

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