#871924#871924

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

Color values

HEX#871924
RGBrgb(135, 25, 36)
HSLhsl(354, 69%, 31%)
HSVhsv(354, 81%, 53%)
CMYKcmyk(0%, 81.5%, 73.3%, 47.1%)
CIE-LABlab(29.35, 45.64, 23.22)
CIE-LCHlch(29.35, 51.21, 26.96°)
OKLaboklab(40.87% 0.1339 0.0533)
OKLCHoklch(40.87% 0.144 21.7)
XYZxyz(10.6590, 5.9752, 2.2608)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871924 #19877C
analogous
#87195B #871924 #874519
triadic
#871924 #248719 #192487
tetradic
#871924 #5B8719 #19877C #451987
square
#871924 #5B8719 #19877C #451987
split-complementary
#871924 #198745 #195B87
monochromatic
#200608 #530F16 #871924 #BB2332 #DB3F4F

Accessibility & contrast

On white

9.57
#871924 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871924
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871924#FFFFFF#000000##FFFFFF
##8719241.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3623
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871924;
/* rgb */ color: rgb(135, 25, 36);
/* oklch */ color: oklch(40.9% 0.144 21.7);
Tailwind
colors: {
  custom: {
    50: '#b2615e',
    500: '#871924',
    950: '#000000',
  },
}
SCSS
$custom: #871924;
$custom-light: #b2615e;
$custom-dark: #000000;
JSON
{
  "hex": "#871924",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 36
  },
  "hsl": {
    "h": 354,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.14408,
    "h": 21.7
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#871924
secondary
#41BAAE
accent
#ECDA3C
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871924

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

Preview Lab → · Contrast checker → · Palette generator →

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