#871E30#871E30

#871E30 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 16.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#871E30
RGBrgb(135, 30, 48)
HSLhsl(350, 64%, 32%)
HSVhsv(350, 78%, 53%)
CMYKcmyk(0%, 77.8%, 64.4%, 47.1%)
CIE-LABlab(30.14, 44.70, 16.38)
CIE-LCHlch(30.14, 47.60, 20.13°)
OKLaboklab(41.53% 0.1335 0.0396)
OKLCHoklch(41.53% 0.139 16.5)
XYZxyz(10.9906, 6.2945, 3.4320)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E30 #1E8775
analogous
#871E65 #871E30 #87401E
triadic
#871E30 #30871E #1E3087
tetradic
#871E30 #65871E #1E8775 #401E87
square
#871E30 #65871E #1E8775 #401E87
split-complementary
#871E30 #1E8740 #1E6587
monochromatic
#23080C #55131E #871E30 #B92942 #D74961

Accessibility & contrast

On white

9.30
#871E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E30
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E30#FFFFFF#000000##FFFFFF
##871E301.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e30;
/* rgb */ color: rgb(135, 30, 48);
/* oklch */ color: oklch(41.5% 0.139 16.5);
Tailwind
colors: {
  custom: {
    50: '#b16468',
    500: '#871e30',
    950: '#000000',
  },
}
SCSS
$custom: #871e30;
$custom-light: #b16468;
$custom-dark: #000000;
JSON
{
  "hex": "#871e30",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 349.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.13928,
    "h": 16.5
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#871E30
secondary
#48B9A5
accent
#E7CA41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871E30

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

Preview Lab → · Contrast checker → · Palette generator →

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