#871D30#871D30

#871D30 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 16.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#871D30
RGBrgb(135, 29, 48)
HSLhsl(349, 65%, 32%)
HSVhsv(349, 79%, 53%)
CMYKcmyk(0%, 78.5%, 64.4%, 47.1%)
CIE-LABlab(30.02, 45.04, 16.22)
CIE-LCHlch(30.02, 47.87, 19.81°)
OKLaboklab(41.44% 0.1346 0.0393)
OKLCHoklch(41.44% 0.14 16.3)
XYZxyz(10.9657, 6.2447, 3.4237)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D30 #1D8774
analogous
#871D65 #871D30 #873F1D
triadic
#871D30 #30871D #1D3087
tetradic
#871D30 #65871D #1D8774 #3F1D87
square
#871D30 #65871D #1D8774 #3F1D87
split-complementary
#871D30 #1D873F #1D6587
monochromatic
#22070C #55121E #871D30 #B92842 #D74761

Accessibility & contrast

On white

9.34
#871D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D30
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D30#FFFFFF#000000##FFFFFF
##871D301.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3930
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d30;
/* rgb */ color: rgb(135, 29, 48);
/* oklch */ color: oklch(41.4% 0.140 16.3);
Tailwind
colors: {
  custom: {
    50: '#b16368',
    500: '#871d30',
    950: '#000000',
  },
}
SCSS
$custom: #871d30;
$custom-light: #b16368;
$custom-dark: #000000;
JSON
{
  "hex": "#871d30",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 48
  },
  "hsl": {
    "h": 349.245,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.14023,
    "h": 16.3
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#871D30
secondary
#46B9A5
accent
#E8CA40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D30

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

Preview Lab → · Contrast checker → · Palette generator →

#871D30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva