#862871#862871

#862871 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.152 H 338.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#862871
RGBrgb(134, 40, 113)
HSLhsl(313, 54%, 34%)
HSVhsv(313, 70%, 53%)
CMYKcmyk(0%, 70.1%, 15.7%, 47.5%)
CIE-LABlab(33.52, 47.89, -21.05)
CIE-LCHlch(33.52, 52.31, 336.27°)
OKLaboklab(44.7% 0.1414 -0.057)
OKLCHoklch(44.7% 0.152 338)
XYZxyz(13.5712, 7.7794, 16.4064)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862871 #28863D
analogous
#6C2886 #862871 #862842
triadic
#862871 #718628 #287186
tetradic
#862871 #866C28 #28863D #284286
square
#862871 #866C28 #28863D #284286
split-complementary
#862871 #428628 #28866C
monochromatic
#280C22 #571A49 #862871 #B53699 #CE5BB4

Accessibility & contrast

On white

8.22
#862871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#862871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862871
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862871#FFFFFF#000000##FFFFFF
##8628711.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4573
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#8D2C49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862871;
/* rgb */ color: rgb(134, 40, 113);
/* oklch */ color: oklch(44.7% 0.152 338.0);
Tailwind
colors: {
  custom: {
    50: '#ac6a9a',
    500: '#862871',
    950: '#000000',
  },
}
SCSS
$custom: #862871;
$custom-light: #ac6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862871",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 313.404,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.15246,
    "h": 338
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#862871
secondary
#57B36B
accent
#DD6B4A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862871

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

Preview Lab → · Contrast checker → · Palette generator →

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