#802917#802917

#802917 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.124 H 33.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#802917
RGBrgb(128, 41, 23)
HSLhsl(10, 70%, 30%)
HSVhsv(10, 82%, 50%)
CMYKcmyk(0%, 68%, 82%, 49.8%)
CIE-LABlab(30.01, 36.56, 31.42)
CIE-LCHlch(30.01, 48.21, 40.68°)
OKLaboklab(41.05% 0.1033 0.0683)
OKLCHoklch(41.05% 0.124 33.5)
XYZxyz(9.8508, 6.2384, 1.4959)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802917 #176E80
analogous
#801739 #802917 #805E17
triadic
#802917 #178029 #291780
tetradic
#802917 #398017 #176E80 #5E1780
square
#802917 #398017 #176E80 #5E1780
split-complementary
#802917 #17805E #173980
monochromatic
#1A0805 #4C180E #802917 #B43A20 #DB5336

Accessibility & contrast

On white

9.34
#802917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#802917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802917
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802917#FFFFFF#000000##FFFFFF
##8029171.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#574E13
Tritanopia (blue-blind)
#8D1026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802917;
/* rgb */ color: rgb(128, 41, 23);
/* oklch */ color: oklch(41.1% 0.124 33.5);
Tailwind
colors: {
  custom: {
    50: '#ac6855',
    500: '#802917',
    950: '#000000',
  },
}
SCSS
$custom: #802917;
$custom-light: #ac6855;
$custom-dark: #000000;
JSON
{
  "hex": "#802917",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.12379,
    "h": 33.5
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#802917
secondary
#3EA0B4
accent
#CEEC3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802917

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

Preview Lab → · Contrast checker → · Palette generator →

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