#871835#871835

#871835 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.145 H 12.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#871835
RGBrgb(135, 24, 53)
HSLhsl(344, 70%, 31%)
HSVhsv(344, 82%, 53%)
CMYKcmyk(0%, 82.2%, 60.7%, 47.1%)
CIE-LABlab(29.57, 46.96, 12.30)
CIE-LCHlch(29.57, 48.54, 14.68°)
OKLaboklab(41.14% 0.1418 0.0305)
OKLCHoklch(41.14% 0.145 12.1)
XYZxyz(10.9620, 6.0628, 3.9605)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871835 #18876A
analogous
#87186C #871835 #873218
triadic
#871835 #358718 #183587
tetradic
#871835 #6C8718 #18876A #321887
square
#871835 #6C8718 #18876A #321887
split-complementary
#871835 #188732 #186C87
monochromatic
#1F060C #530F21 #871835 #BB2149 #DC3D67

Accessibility & contrast

On white

9.49
#871835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871835
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871835#FFFFFF#000000##FFFFFF
##8718351.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383735
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871835;
/* rgb */ color: rgb(135, 24, 53);
/* oklch */ color: oklch(41.1% 0.145 12.1);
Tailwind
colors: {
  custom: {
    50: '#b0626b',
    500: '#871835',
    950: '#000000',
  },
}
SCSS
$custom: #871835;
$custom-light: #b0626b;
$custom-dark: #000000;
JSON
{
  "hex": "#871835",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 344.324,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.14504,
    "h": 12.1
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#871835
secondary
#40BB9B
accent
#EDBE3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871835

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

Preview Lab → · Contrast checker → · Palette generator →

#871835 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva