#871832#871832

#871832 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.1% C 0.145 H 13.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#871832
RGBrgb(135, 24, 50)
HSLhsl(346, 70%, 31%)
HSVhsv(346, 82%, 53%)
CMYKcmyk(0%, 82.2%, 63%, 47.1%)
CIE-LABlab(29.50, 46.75, 14.21)
CIE-LCHlch(29.50, 48.86, 16.91°)
OKLaboklab(41.07% 0.1406 0.0348)
OKLCHoklch(41.07% 0.145 13.9)
XYZxyz(10.8952, 6.0361, 3.6084)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871832 #18876D
analogous
#871869 #871832 #873518
triadic
#871832 #328718 #183287
tetradic
#871832 #698718 #18876D #351887
square
#871832 #698718 #18876D #351887
split-complementary
#871832 #188735 #186987
monochromatic
#1F060C #530F1F #871832 #BB2145 #DC3D62

Accessibility & contrast

On white

9.52
#871832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871832
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871832#FFFFFF#000000##FFFFFF
##8718321.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383732
Deuteranopia (green-blind)
#544E2F
Tritanopia (blue-blind)
#940023
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871832;
/* rgb */ color: rgb(135, 24, 50);
/* oklch */ color: oklch(41.1% 0.145 13.9);
Tailwind
colors: {
  custom: {
    50: '#b16269',
    500: '#871832',
    950: '#000000',
  },
}
SCSS
$custom: #871832;
$custom-light: #b16269;
$custom-dark: #000000;
JSON
{
  "hex": "#871832",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 345.946,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.14478,
    "h": 13.9
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#871832
secondary
#40BB9E
accent
#EDC33B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871832

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

Preview Lab → · Contrast checker → · Palette generator →

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