#872417#872417

#872417 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.7% C 0.136 H 30.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#872417
RGBrgb(135, 36, 23)
HSLhsl(7, 71%, 31%)
HSVhsv(7, 83%, 53%)
CMYKcmyk(0%, 73.3%, 83%, 47.1%)
CIE-LABlab(30.58, 41.23, 32.45)
CIE-LCHlch(30.58, 52.46, 38.21°)
OKLaboklab(41.74% 0.117 0.0699)
OKLCHoklch(41.74% 0.136 30.8)
XYZxyz(10.7785, 6.4762, 1.4929)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872417 #177A87
analogous
#871742 #872417 #875C17
triadic
#872417 #178724 #241787
tetradic
#872417 #428717 #177A87 #5C1787
square
#872417 #428717 #177A87 #5C1787
split-complementary
#872417 #17875C #174287
monochromatic
#1E0805 #53160E #872417 #BB3220 #DE4E3B

Accessibility & contrast

On white

9.15
#872417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#872417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872417
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872417#FFFFFF#000000##FFFFFF
##8724171.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872417;
/* rgb */ color: rgb(135, 36, 23);
/* oklch */ color: oklch(41.7% 0.136 30.8);
Tailwind
colors: {
  custom: {
    50: '#b26655',
    500: '#872417',
    950: '#000000',
  },
}
SCSS
$custom: #872417;
$custom-light: #b26655;
$custom-dark: #000000;
JSON
{
  "hex": "#872417",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 6.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.13626,
    "h": 30.8
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#872417
secondary
#3FACBB
accent
#D9EE3A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872417

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

Preview Lab → · Contrast checker → · Palette generator →

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