#871A30#871A30

#871A30 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.143 H 15.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#871A30
RGBrgb(135, 26, 48)
HSLhsl(348, 68%, 32%)
HSVhsv(348, 81%, 53%)
CMYKcmyk(0%, 80.7%, 64.4%, 47.1%)
CIE-LABlab(29.68, 46.01, 15.77)
CIE-LCHlch(29.68, 48.64, 18.92°)
OKLaboklab(41.18% 0.1378 0.0382)
OKLCHoklch(41.18% 0.143 15.5)
XYZxyz(10.8957, 6.1047, 3.4003)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A30 #1A8771
analogous
#871A67 #871A30 #873B1A
triadic
#871A30 #30871A #1A3087
tetradic
#871A30 #67871A #1A8771 #3B1A87
square
#871A30 #67871A #1A8771 #3B1A87
split-complementary
#871A30 #1A873B #1A6787
monochromatic
#20060C #54101E #871A30 #BA2442 #DA4160

Accessibility & contrast

On white

9.46
#871A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A30
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A30#FFFFFF#000000##FFFFFF
##871A301.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a30;
/* rgb */ color: rgb(135, 26, 48);
/* oklch */ color: oklch(41.2% 0.143 15.5);
Tailwind
colors: {
  custom: {
    50: '#b16268',
    500: '#871a30',
    950: '#000000',
  },
}
SCSS
$custom: #871a30;
$custom-light: #b16268;
$custom-dark: #000000;
JSON
{
  "hex": "#871a30",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 347.89,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.14296,
    "h": 15.5
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#871A30
secondary
#42BAA2
accent
#EBC83D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871A30

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

Preview Lab → · Contrast checker → · Palette generator →

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