#871867#871867

#871867 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.165 H 342.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#871867
RGBrgb(135, 24, 103)
HSLhsl(317, 70%, 31%)
HSVhsv(317, 82%, 53%)
CMYKcmyk(0%, 82.2%, 23.7%, 47.1%)
CIE-LABlab(31.31, 52.14, -18.07)
CIE-LCHlch(31.31, 55.18, 340.88°)
OKLaboklab(42.98% 0.1573 -0.0485)
OKLCHoklch(42.98% 0.165 342.9)
XYZxyz(12.7670, 6.7848, 13.4666)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871867 #188738
analogous
#6F1887 #871867 #87182F
triadic
#871867 #678718 #186787
tetradic
#871867 #876F18 #188738 #182F87
square
#871867 #876F18 #188738 #182F87
split-complementary
#871867 #2F8718 #18876F
monochromatic
#1F0618 #530F3F #871867 #BB218F #DC3DAE

Accessibility & contrast

On white

8.91
#871867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871867
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871867#FFFFFF#000000##FFFFFF
##8718671.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#495065
Tritanopia (blue-blind)
#90193E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871867;
/* rgb */ color: rgb(135, 24, 103);
/* oklch */ color: oklch(43.0% 0.165 342.9);
Tailwind
colors: {
  custom: {
    50: '#ae6392',
    500: '#871867',
    950: '#000000',
  },
}
SCSS
$custom: #871867;
$custom-light: #ae6392;
$custom-dark: #000000;
JSON
{
  "hex": "#871867",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 317.297,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.16464,
    "h": 342.9
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#871867
secondary
#40BB63
accent
#ED6E3B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871867

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

Preview Lab → · Contrast checker → · Palette generator →

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