#872017#872017

#872017 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 29.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#872017
RGBrgb(135, 32, 23)
HSLhsl(5, 71%, 31%)
HSVhsv(5, 83%, 53%)
CMYKcmyk(0%, 76.3%, 83%, 47.1%)
CIE-LABlab(30.03, 42.76, 31.90)
CIE-LCHlch(30.03, 53.35, 36.73°)
OKLaboklab(41.32% 0.1218 0.0687)
OKLCHoklch(41.32% 0.14 29.4)
XYZxyz(10.6641, 6.2475, 1.4548)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872017 #177E87
analogous
#871746 #872017 #875817
triadic
#872017 #178720 #201787
tetradic
#872017 #468717 #177E87 #581787
square
#872017 #468717 #177E87 #581787
split-complementary
#872017 #178758 #174687
monochromatic
#1E0705 #53140E #872017 #BB2C20 #DE483B

Accessibility & contrast

On white

9.34
#872017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#872017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872017
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872017#FFFFFF#000000##FFFFFF
##8720171.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872017;
/* rgb */ color: rgb(135, 32, 23);
/* oklch */ color: oklch(41.3% 0.140 29.4);
Tailwind
colors: {
  custom: {
    50: '#b26455',
    500: '#872017',
    950: '#000000',
  },
}
SCSS
$custom: #872017;
$custom-light: #b26455;
$custom-dark: #000000;
JSON
{
  "hex": "#872017",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4.821,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.13981,
    "h": 29.4
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#872017
secondary
#3FB1BB
accent
#DFEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872017

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

Preview Lab → · Contrast checker → · Palette generator →

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