#802317#802317

#802317 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.130 H 30.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#802317
RGBrgb(128, 35, 23)
HSLhsl(7, 70%, 30%)
HSVhsv(7, 82%, 50%)
CMYKcmyk(0%, 72.7%, 82%, 49.8%)
CIE-LABlab(29.04, 39.18, 30.45)
CIE-LCHlch(29.04, 49.62, 37.86°)
OKLaboklab(40.33% 0.1114 0.0661)
OKLCHoklch(40.33% 0.13 30.7)
XYZxyz(9.6589, 5.8546, 1.4319)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802317 #177480
analogous
#801740 #802317 #805817
triadic
#802317 #178023 #231780
tetradic
#802317 #408017 #177480 #581780
square
#802317 #408017 #177480 #581780
split-complementary
#802317 #178058 #174080
monochromatic
#1A0705 #4C150E #802317 #B43120 #DB4936

Accessibility & contrast

On white

9.67
#802317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#802317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802317
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802317#FFFFFF#000000##FFFFFF
##8023171.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#8D0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802317;
/* rgb */ color: rgb(128, 35, 23);
/* oklch */ color: oklch(40.3% 0.130 30.7);
Tailwind
colors: {
  custom: {
    50: '#ad6455',
    500: '#802317',
    950: '#000000',
  },
}
SCSS
$custom: #802317;
$custom-light: #ad6455;
$custom-dark: #000000;
JSON
{
  "hex": "#802317",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.12956,
    "h": 30.7
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#802317
secondary
#3EA7B4
accent
#D8EC3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #802317

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

Preview Lab → · Contrast checker → · Palette generator →

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