#872717#872717

#872717 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.1% C 0.134 H 32.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#872717
RGBrgb(135, 39, 23)
HSLhsl(9, 71%, 31%)
HSVhsv(9, 83%, 53%)
CMYKcmyk(0%, 71.1%, 83%, 47.1%)
CIE-LABlab(31.03, 39.99, 32.89)
CIE-LCHlch(31.03, 51.78, 39.43°)
OKLaboklab(42.07% 0.1132 0.0708)
OKLCHoklch(42.07% 0.134 32)
XYZxyz(10.8731, 6.6654, 1.5245)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872717 #177787
analogous
#87173F #872717 #875F17
triadic
#872717 #178727 #271787
tetradic
#872717 #3F8717 #177787 #5F1787
square
#872717 #3F8717 #177787 #5F1787
split-complementary
#872717 #17875F #173F87
monochromatic
#1E0905 #53180E #872717 #BB3620 #DE523B

Accessibility & contrast

On white

9.00
#872717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872717
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872717#FFFFFF#000000##FFFFFF
##8727171.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#950424
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872717;
/* rgb */ color: rgb(135, 39, 23);
/* oklch */ color: oklch(42.1% 0.134 32.0);
Tailwind
colors: {
  custom: {
    50: '#b26755',
    500: '#872717',
    950: '#000000',
  },
}
SCSS
$custom: #872717;
$custom-light: #b26755;
$custom-dark: #000000;
JSON
{
  "hex": "#872717",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 8.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.1335,
    "h": 32
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#872717
secondary
#3FA9BB
accent
#D4EE3A
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #872717

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

Preview Lab → · Contrast checker → · Palette generator →

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