#871868#871868

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

Color values

HEX#871868
RGBrgb(135, 24, 104)
HSLhsl(317, 70%, 31%)
HSVhsv(317, 82%, 53%)
CMYKcmyk(0%, 82.2%, 23%, 47.1%)
CIE-LABlab(31.36, 52.27, -18.65)
CIE-LCHlch(31.36, 55.50, 340.37°)
OKLaboklab(43.03% 0.1575 -0.0501)
OKLCHoklch(43.03% 0.165 342.4)
XYZxyz(12.8175, 6.8050, 13.7325)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871868 #188737
analogous
#6E1887 #871868 #871830
triadic
#871868 #688718 #186887
tetradic
#871868 #876E18 #188737 #183087
square
#871868 #876E18 #188737 #183087
split-complementary
#871868 #308718 #18876E
monochromatic
#1F0618 #530F40 #871868 #BB2190 #DC3DB0

Accessibility & contrast

On white

8.90
#871868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871868
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871868#FFFFFF#000000##FFFFFF
##8718681.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#485066
Tritanopia (blue-blind)
#90193F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871868;
/* rgb */ color: rgb(135, 24, 104);
/* oklch */ color: oklch(43.0% 0.165 342.4);
Tailwind
colors: {
  custom: {
    50: '#ae6393',
    500: '#871868',
    950: '#000000',
  },
}
SCSS
$custom: #871868;
$custom-light: #ae6393;
$custom-dark: #000000;
JSON
{
  "hex": "#871868",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 316.757,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.16527,
    "h": 342.4
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#871868
secondary
#40BB62
accent
#ED6D3B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871868

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

Preview Lab → · Contrast checker → · Palette generator →

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