#871931#871931

#871931 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.144 H 14.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#871931
RGBrgb(135, 25, 49)
HSLhsl(347, 69%, 31%)
HSVhsv(347, 81%, 53%)
CMYKcmyk(0%, 81.5%, 63.7%, 47.1%)
CIE-LABlab(29.59, 46.39, 14.99)
CIE-LCHlch(29.59, 48.75, 17.91°)
OKLaboklab(41.12% 0.1392 0.0365)
OKLCHoklch(41.12% 0.144 14.7)
XYZxyz(10.8948, 6.0696, 3.5030)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871931 #19876F
analogous
#871968 #871931 #873819
triadic
#871931 #318719 #193187
tetradic
#871931 #688719 #19876F #381987
square
#871931 #688719 #19876F #381987
split-complementary
#871931 #198738 #196887
monochromatic
#20060C #530F1E #871931 #BB2344 #DB3F61

Accessibility & contrast

On white

9.49
#871931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871931
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871931#FFFFFF#000000##FFFFFF
##8719311.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#940023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871931;
/* rgb */ color: rgb(135, 25, 49);
/* oklch */ color: oklch(41.1% 0.144 14.7);
Tailwind
colors: {
  custom: {
    50: '#b16268',
    500: '#871931',
    950: '#000000',
  },
}
SCSS
$custom: #871931;
$custom-light: #b16268;
$custom-dark: #000000;
JSON
{
  "hex": "#871931",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 346.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.14387,
    "h": 14.7
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#871931
secondary
#41BAA0
accent
#ECC53C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871931

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

Preview Lab → · Contrast checker → · Palette generator →

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