#871928#871928

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

Color values

HEX#871928
RGBrgb(135, 25, 40)
HSLhsl(352, 69%, 31%)
HSVhsv(352, 81%, 53%)
CMYKcmyk(0%, 81.5%, 70.4%, 47.1%)
CIE-LABlab(29.41, 45.85, 20.70)
CIE-LCHlch(29.41, 50.31, 24.30°)
OKLaboklab(40.94% 0.1354 0.0484)
OKLCHoklch(40.94% 0.144 19.7)
XYZxyz(10.7235, 6.0010, 2.6007)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871928 #198778
analogous
#87195F #871928 #874119
triadic
#871928 #288719 #192887
tetradic
#871928 #5F8719 #198778 #411987
square
#871928 #5F8719 #198778 #411987
split-complementary
#871928 #198741 #195F87
monochromatic
#200609 #530F19 #871928 #BB2337 #DB3F54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871928#FFFFFF#000000##FFFFFF
##8719281.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)
#3A3628
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871928;
/* rgb */ color: rgb(135, 25, 40);
/* oklch */ color: oklch(40.9% 0.144 19.7);
Tailwind
colors: {
  custom: {
    50: '#b16261',
    500: '#871928',
    950: '#000000',
  },
}
SCSS
$custom: #871928;
$custom-light: #b16261;
$custom-dark: #000000;
JSON
{
  "hex": "#871928",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 351.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.14385,
    "h": 19.7
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#871928
secondary
#41BAAA
accent
#ECD43C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871928

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

Preview Lab → · Contrast checker → · Palette generator →

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