#871C30#871C30

#871C30 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.141 H 16.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871C30
RGBrgb(135, 28, 48)
HSLhsl(349, 66%, 32%)
HSVhsv(349, 79%, 53%)
CMYKcmyk(0%, 79.3%, 64.4%, 47.1%)
CIE-LABlab(29.90, 45.37, 16.07)
CIE-LCHlch(29.90, 48.13, 19.50°)
OKLaboklab(41.35% 0.1357 0.0389)
OKLCHoklch(41.35% 0.141 16)
XYZxyz(10.9416, 6.1964, 3.4156)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C30 #1C8773
analogous
#871C66 #871C30 #873E1C
triadic
#871C30 #30871C #1C3087
tetradic
#871C30 #66871C #1C8773 #3E1C87
square
#871C30 #66871C #1C8773 #3E1C87
split-complementary
#871C30 #1C873E #1C6687
monochromatic
#22070C #54111E #871C30 #BA2742 #D84561

Accessibility & contrast

On white

9.38
#871C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C30
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C30#FFFFFF#000000##FFFFFF
##871C301.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3830
Deuteranopia (green-blind)
#564E2D
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c30;
/* rgb */ color: rgb(135, 28, 48);
/* oklch */ color: oklch(41.3% 0.141 16.0);
Tailwind
colors: {
  custom: {
    50: '#b16368',
    500: '#871c30',
    950: '#000000',
  },
}
SCSS
$custom: #871c30;
$custom-light: #b16368;
$custom-dark: #000000;
JSON
{
  "hex": "#871c30",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 48
  },
  "hsl": {
    "h": 348.785,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.14116,
    "h": 16
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#871C30
secondary
#45BAA4
accent
#E9C93F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871C30

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

Preview Lab → · Contrast checker → · Palette generator →

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