#871921#871921

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

Color values

HEX#871921
RGBrgb(135, 25, 33)
HSLhsl(356, 69%, 31%)
HSVhsv(356, 81%, 53%)
CMYKcmyk(0%, 81.5%, 75.6%, 47.1%)
CIE-LABlab(29.31, 45.51, 25.08)
CIE-LCHlch(29.31, 51.96, 28.86°)
OKLaboklab(40.82% 0.1327 0.0568)
OKLCHoklch(40.82% 0.144 23.2)
XYZxyz(10.6151, 5.9576, 2.0296)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871921 #19877F
analogous
#871958 #871921 #874819
triadic
#871921 #218719 #192187
tetradic
#871921 #588719 #19877F #481987
square
#871921 #588719 #19877F #481987
split-complementary
#871921 #198748 #195887
monochromatic
#200608 #530F14 #871921 #BB232E #DB3F4A

Accessibility & contrast

On white

9.58
#871921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#871921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871921
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871921#FFFFFF#000000##FFFFFF
##8719211.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3620
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871921;
/* rgb */ color: rgb(135, 25, 33);
/* oklch */ color: oklch(40.8% 0.144 23.2);
Tailwind
colors: {
  custom: {
    50: '#b2615c',
    500: '#871921',
    950: '#000000',
  },
}
SCSS
$custom: #871921;
$custom-light: #b2615c;
$custom-dark: #000000;
JSON
{
  "hex": "#871921",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 33
  },
  "hsl": {
    "h": 355.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.14433,
    "h": 23.2
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#871921
secondary
#41BAB2
accent
#ECDF3C
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871921

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

Preview Lab → · Contrast checker → · Palette generator →

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