#871F2D#871F2D

#871F2D is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 18.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#871F2D
RGBrgb(135, 31, 45)
HSLhsl(352, 63%, 33%)
HSVhsv(352, 77%, 53%)
CMYKcmyk(0%, 77%, 66.7%, 47.1%)
CIE-LABlab(30.21, 44.16, 18.44)
CIE-LCHlch(30.21, 47.85, 22.66°)
OKLaboklab(41.56% 0.1312 0.044)
OKLCHoklch(41.56% 0.138 18.5)
XYZxyz(10.9565, 6.3220, 3.1255)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F2D #1F8779
analogous
#871F61 #871F2D #87451F
triadic
#871F2D #2D871F #1F2D87
tetradic
#871F2D #61871F #1F8779 #451F87
square
#871F2D #61871F #1F8779 #451F87
split-complementary
#871F2D #1F8745 #1F6187
monochromatic
#23080C #55141C #871F2D #B92A3E #D64B5D

Accessibility & contrast

On white

9.28
#871F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F2D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F2D#FFFFFF#000000##FFFFFF
##871F2D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392D
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f2d;
/* rgb */ color: rgb(135, 31, 45);
/* oklch */ color: oklch(41.6% 0.138 18.5);
Tailwind
colors: {
  custom: {
    50: '#b16465',
    500: '#871f2d',
    950: '#000000',
  },
}
SCSS
$custom: #871f2d;
$custom-light: #b16465;
$custom-dark: #000000;
JSON
{
  "hex": "#871f2d",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 351.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.13835,
    "h": 18.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#871F2D
secondary
#4AB8A9
accent
#E6D042
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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