#802817#802817

#802817 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.125 H 33.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#802817
RGBrgb(128, 40, 23)
HSLhsl(10, 70%, 30%)
HSVhsv(10, 82%, 50%)
CMYKcmyk(0%, 68.8%, 82%, 49.8%)
CIE-LABlab(29.84, 37.01, 31.25)
CIE-LCHlch(29.84, 48.44, 40.17°)
OKLaboklab(40.93% 0.1047 0.0679)
OKLCHoklch(40.93% 0.125 33)
XYZxyz(9.8166, 6.1701, 1.4845)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802817 #176F80
analogous
#80173B #802817 #805C17
triadic
#802817 #178028 #281780
tetradic
#802817 #3B8017 #176F80 #5C1780
square
#802817 #3B8017 #176F80 #5C1780
split-complementary
#802817 #17805C #173B80
monochromatic
#1A0805 #4C180E #802817 #B43820 #DB5136

Accessibility & contrast

On white

9.40
#802817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#802817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802817
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802817#FFFFFF#000000##FFFFFF
##8028171.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#8D0D25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802817;
/* rgb */ color: rgb(128, 40, 23);
/* oklch */ color: oklch(40.9% 0.125 33.0);
Tailwind
colors: {
  custom: {
    50: '#ac6755',
    500: '#802817',
    950: '#000000',
  },
}
SCSS
$custom: #802817;
$custom-light: #ac6755;
$custom-dark: #000000;
JSON
{
  "hex": "#802817",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 9.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.12476,
    "h": 33
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#802817
secondary
#3EA1B4
accent
#D0EC3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802817

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

Preview Lab → · Contrast checker → · Palette generator →

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