#871F23#871F23

#871F23 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 23.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#871F23
RGBrgb(135, 31, 35)
HSLhsl(358, 63%, 33%)
HSVhsv(358, 77%, 53%)
CMYKcmyk(0%, 77%, 74.1%, 47.1%)
CIE-LABlab(30.04, 43.61, 24.67)
CIE-LCHlch(30.04, 50.10, 29.50°)
OKLaboklab(41.38% 0.1271 0.0563)
OKLCHoklch(41.38% 0.139 23.9)
XYZxyz(10.7863, 6.2539, 2.2290)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F23 #1F8783
analogous
#871F57 #871F23 #874F1F
triadic
#871F23 #23871F #1F2387
tetradic
#871F23 #57871F #1F8783 #4F1F87
square
#871F23 #57871F #1F8783 #4F1F87
split-complementary
#871F23 #1F874F #1F5787
monochromatic
#230809 #551416 #871F23 #B92A30 #D64B50

Accessibility & contrast

On white

9.33
#871F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F23
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F23#FFFFFF#000000##FFFFFF
##871F231.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3822
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f23;
/* rgb */ color: rgb(135, 31, 35);
/* oklch */ color: oklch(41.4% 0.139 23.9);
Tailwind
colors: {
  custom: {
    50: '#b1645e',
    500: '#871f23',
    950: '#000000',
  },
}
SCSS
$custom: #871f23;
$custom-light: #b1645e;
$custom-dark: #000000;
JSON
{
  "hex": "#871f23",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.692,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.13905,
    "h": 23.9
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#871F23
secondary
#4AB8B4
accent
#E6DF42
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F23

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

Preview Lab → · Contrast checker → · Palette generator →

#871F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva