#871F25#871F25

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

Color values

HEX#871F25
RGBrgb(135, 31, 37)
HSLhsl(357, 63%, 33%)
HSVhsv(357, 77%, 53%)
CMYKcmyk(0%, 77%, 72.6%, 47.1%)
CIE-LABlab(30.07, 43.71, 23.44)
CIE-LCHlch(30.07, 49.60, 28.21°)
OKLaboklab(41.41% 0.1279 0.054)
OKLCHoklch(41.41% 0.139 22.9)
XYZxyz(10.8168, 6.2661, 2.3898)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F25 #1F8781
analogous
#871F59 #871F25 #874D1F
triadic
#871F25 #25871F #1F2587
tetradic
#871F25 #59871F #1F8781 #4D1F87
square
#871F25 #59871F #1F8781 #4D1F87
split-complementary
#871F25 #1F874D #1F5987
monochromatic
#23080A #551417 #871F25 #B92A33 #D64B53

Accessibility & contrast

On white

9.32
#871F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F25
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F25#FFFFFF#000000##FFFFFF
##871F251.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f25;
/* rgb */ color: rgb(135, 31, 37);
/* oklch */ color: oklch(41.4% 0.139 22.9);
Tailwind
colors: {
  custom: {
    50: '#b1645f',
    500: '#871f25',
    950: '#000000',
  },
}
SCSS
$custom: #871f25;
$custom-light: #b1645f;
$custom-dark: #000000;
JSON
{
  "hex": "#871f25",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 356.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.13884,
    "h": 22.9
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#871F25
secondary
#4AB8B2
accent
#E6DC42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F25

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

Preview Lab → · Contrast checker → · Palette generator →

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