#872217#872217

#872217 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.5% C 0.138 H 30.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#872217
RGBrgb(135, 34, 23)
HSLhsl(6, 71%, 31%)
HSVhsv(6, 83%, 53%)
CMYKcmyk(0%, 74.8%, 83%, 47.1%)
CIE-LABlab(30.30, 42.01, 32.17)
CIE-LCHlch(30.30, 52.91, 37.44°)
OKLaboklab(41.53% 0.1194 0.0692)
OKLCHoklch(41.53% 0.138 30.1)
XYZxyz(10.7196, 6.3585, 1.4733)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872217 #177C87
analogous
#871744 #872217 #875A17
triadic
#872217 #178722 #221787
tetradic
#872217 #448717 #177C87 #5A1787
square
#872217 #448717 #177C87 #5A1787
split-complementary
#872217 #17875A #174487
monochromatic
#1E0805 #53150E #872217 #BB2F20 #DE4B3B

Accessibility & contrast

On white

9.25
#872217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#872217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872217
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872217#FFFFFF#000000##FFFFFF
##8722171.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872217;
/* rgb */ color: rgb(135, 34, 23);
/* oklch */ color: oklch(41.5% 0.138 30.1);
Tailwind
colors: {
  custom: {
    50: '#b26555',
    500: '#872217',
    950: '#000000',
  },
}
SCSS
$custom: #872217;
$custom-light: #b26555;
$custom-dark: #000000;
JSON
{
  "hex": "#872217",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.893,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.13806,
    "h": 30.1
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#872217
secondary
#3FAFBB
accent
#DCEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872217

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

Preview Lab → · Contrast checker → · Palette generator →

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