#871B30#871B30

#871B30 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.142 H 15.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#871B30
RGBrgb(135, 27, 48)
HSLhsl(348, 67%, 32%)
HSVhsv(348, 80%, 53%)
CMYKcmyk(0%, 80%, 64.4%, 47.1%)
CIE-LABlab(29.79, 45.70, 15.91)
CIE-LCHlch(29.79, 48.39, 19.20°)
OKLaboklab(41.26% 0.1368 0.0385)
OKLCHoklch(41.26% 0.142 15.7)
XYZxyz(10.9183, 6.1498, 3.4079)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B30 #1B8772
analogous
#871B66 #871B30 #873C1B
triadic
#871B30 #30871B #1B3087
tetradic
#871B30 #66871B #1B8772 #3C1B87
square
#871B30 #66871B #1B8772 #3C1B87
split-complementary
#871B30 #1B873C #1B6687
monochromatic
#21070C #54111E #871B30 #BA2542 #D94360

Accessibility & contrast

On white

9.42
#871B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B30
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B30#FFFFFF#000000##FFFFFF
##871B301.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3830
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#940024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b30;
/* rgb */ color: rgb(135, 27, 48);
/* oklch */ color: oklch(41.3% 0.142 15.7);
Tailwind
colors: {
  custom: {
    50: '#b16368',
    500: '#871b30',
    950: '#000000',
  },
}
SCSS
$custom: #871b30;
$custom-light: #b16368;
$custom-dark: #000000;
JSON
{
  "hex": "#871b30",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 348.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.14208,
    "h": 15.7
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#871B30
secondary
#44BAA3
accent
#EAC83E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871B30

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

Preview Lab → · Contrast checker → · Palette generator →

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