#871F34#871F34

#871F34 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.138 H 14.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#871F34
RGBrgb(135, 31, 52)
HSLhsl(348, 63%, 33%)
HSVhsv(348, 77%, 53%)
CMYKcmyk(0%, 77%, 61.5%, 47.1%)
CIE-LABlab(30.35, 44.62, 14.02)
CIE-LCHlch(30.35, 46.77, 17.44°)
OKLaboklab(41.71% 0.1341 0.0345)
OKLCHoklch(41.71% 0.138 14.4)
XYZxyz(11.1026, 6.3804, 3.8951)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F34 #1F8772
analogous
#871F68 #871F34 #873E1F
triadic
#871F34 #34871F #1F3487
tetradic
#871F34 #68871F #1F8772 #3E1F87
square
#871F34 #68871F #1F8772 #3E1F87
split-complementary
#871F34 #1F873E #1F6887
monochromatic
#23080E #551421 #871F34 #B92A47 #D64B67

Accessibility & contrast

On white

9.23
#871F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F34
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F34#FFFFFF#000000##FFFFFF
##871F341.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A34
Deuteranopia (green-blind)
#564F31
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f34;
/* rgb */ color: rgb(135, 31, 52);
/* oklch */ color: oklch(41.7% 0.138 14.4);
Tailwind
colors: {
  custom: {
    50: '#b0646b',
    500: '#871f34',
    950: '#000000',
  },
}
SCSS
$custom: #871f34;
$custom-light: #b0646b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f34",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 347.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.13844,
    "h": 14.4
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#871F34
secondary
#4AB8A2
accent
#E6C542
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871F34

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

Preview Lab → · Contrast checker → · Palette generator →

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