#871A25#871A25

#871A25 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 21.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#871A25
RGBrgb(135, 26, 37)
HSLhsl(354, 68%, 32%)
HSVhsv(354, 81%, 53%)
CMYKcmyk(0%, 80.7%, 72.6%, 47.1%)
CIE-LABlab(29.48, 45.38, 22.72)
CIE-LCHlch(29.48, 50.76, 26.60°)
OKLaboklab(40.97% 0.1333 0.0524)
OKLCHoklch(40.97% 0.143 21.5)
XYZxyz(10.6962, 6.0249, 2.3496)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A25 #1A877C
analogous
#871A5C #871A25 #87461A
triadic
#871A25 #25871A #1A2587
tetradic
#871A25 #5C871A #1A877C #461A87
square
#871A25 #5C871A #1A877C #461A87
split-complementary
#871A25 #1A8746 #1A5C87
monochromatic
#200609 #541017 #871A25 #BA2433 #DA4150

Accessibility & contrast

On white

9.53
#871A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A25
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A25#FFFFFF#000000##FFFFFF
##871A251.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3724
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a25;
/* rgb */ color: rgb(135, 26, 37);
/* oklch */ color: oklch(41.0% 0.143 21.5);
Tailwind
colors: {
  custom: {
    50: '#b2625f',
    500: '#871a25',
    950: '#000000',
  },
}
SCSS
$custom: #871a25;
$custom-light: #b2625f;
$custom-dark: #000000;
JSON
{
  "hex": "#871a25",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 37
  },
  "hsl": {
    "h": 353.945,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40968,
    "c": 0.1432,
    "h": 21.5
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#871A25
secondary
#42BAAE
accent
#EBD93D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A25

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

Preview Lab → · Contrast checker → · Palette generator →

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