#872317#872317

#872317 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.6% C 0.137 H 30.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#872317
RGBrgb(135, 35, 23)
HSLhsl(6, 71%, 31%)
HSVhsv(6, 83%, 53%)
CMYKcmyk(0%, 74.1%, 83%, 47.1%)
CIE-LABlab(30.44, 41.62, 32.31)
CIE-LCHlch(30.44, 52.69, 37.82°)
OKLaboklab(41.63% 0.1182 0.0695)
OKLCHoklch(41.63% 0.137 30.5)
XYZxyz(10.7486, 6.4165, 1.4830)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872317 #177B87
analogous
#871743 #872317 #875B17
triadic
#872317 #178723 #231787
tetradic
#872317 #438717 #177B87 #5B1787
square
#872317 #438717 #177B87 #5B1787
split-complementary
#872317 #17875B #174387
monochromatic
#1E0805 #53150E #872317 #BB3120 #DE4C3B

Accessibility & contrast

On white

9.20
#872317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#872317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872317
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872317#FFFFFF#000000##FFFFFF
##8723171.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872317;
/* rgb */ color: rgb(135, 35, 23);
/* oklch */ color: oklch(41.6% 0.137 30.5);
Tailwind
colors: {
  custom: {
    50: '#b26555',
    500: '#872317',
    950: '#000000',
  },
}
SCSS
$custom: #872317;
$custom-light: #b26555;
$custom-dark: #000000;
JSON
{
  "hex": "#872317",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.429,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.13716,
    "h": 30.5
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#872317
secondary
#3FAEBB
accent
#DAEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872317

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

Preview Lab → · Contrast checker → · Palette generator →

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