#871935#871935

#871935 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.144 H 12.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#871935
RGBrgb(135, 25, 53)
HSLhsl(345, 69%, 31%)
HSVhsv(345, 81%, 53%)
CMYKcmyk(0%, 81.5%, 60.7%, 47.1%)
CIE-LABlab(29.68, 46.66, 12.45)
CIE-LCHlch(29.68, 48.29, 14.93°)
OKLaboklab(41.22% 0.1408 0.0308)
OKLCHoklch(41.22% 0.144 12.3)
XYZxyz(10.9830, 6.1048, 3.9675)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871935 #19876B
analogous
#87196C #871935 #873419
triadic
#871935 #358719 #193587
tetradic
#871935 #6C8719 #19876B #341987
square
#871935 #6C8719 #19876B #341987
split-complementary
#871935 #198734 #196C87
monochromatic
#20060C #530F21 #871935 #BB2349 #DB3F67

Accessibility & contrast

On white

9.46
#871935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##871935#FFFFFF#000000##FFFFFF
##8719351.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)
#383835
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871935;
/* rgb */ color: rgb(135, 25, 53);
/* oklch */ color: oklch(41.2% 0.144 12.3);
Tailwind
colors: {
  custom: {
    50: '#b0626b',
    500: '#871935',
    950: '#000000',
  },
}
SCSS
$custom: #871935;
$custom-light: #b0626b;
$custom-dark: #000000;
JSON
{
  "hex": "#871935",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 53
  },
  "hsl": {
    "h": 344.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.14417,
    "h": 12.3
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#871935
secondary
#41BA9C
accent
#ECBF3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871935

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

Preview Lab → · Contrast checker → · Palette generator →

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