#871927#871927

#871927 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 20.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#871927
RGBrgb(135, 25, 39)
HSLhsl(352, 69%, 31%)
HSVhsv(352, 81%, 53%)
CMYKcmyk(0%, 81.5%, 71.1%, 47.1%)
CIE-LABlab(29.40, 45.80, 21.33)
CIE-LCHlch(29.40, 50.52, 24.98°)
OKLaboklab(40.92% 0.1351 0.0497)
OKLCHoklch(40.92% 0.144 20.2)
XYZxyz(10.7067, 5.9943, 2.5123)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871927 #198779
analogous
#87195E #871927 #874219
triadic
#871927 #278719 #192787
tetradic
#871927 #5E8719 #198779 #421987
square
#871927 #5E8719 #198779 #421987
split-complementary
#871927 #198742 #195E87
monochromatic
#200609 #530F18 #871927 #BB2336 #DB3F53

Accessibility & contrast

On white

9.55
#871927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871927
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871927#FFFFFF#000000##FFFFFF
##8719271.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871927;
/* rgb */ color: rgb(135, 25, 39);
/* oklch */ color: oklch(40.9% 0.144 20.2);
Tailwind
colors: {
  custom: {
    50: '#b16261',
    500: '#871927',
    950: '#000000',
  },
}
SCSS
$custom: #871927;
$custom-light: #b16261;
$custom-dark: #000000;
JSON
{
  "hex": "#871927",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 352.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.1439,
    "h": 20.2
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#871927
secondary
#41BAAB
accent
#ECD53C
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871927

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

Preview Lab → · Contrast checker → · Palette generator →

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