#862171#862171

#862171 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.161 H 337.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#862171
RGBrgb(134, 33, 113)
HSLhsl(312, 60%, 33%)
HSVhsv(312, 75%, 53%)
CMYKcmyk(0%, 75.4%, 15.7%, 47.5%)
CIE-LABlab(32.59, 50.51, -22.50)
CIE-LCHlch(32.59, 55.29, 335.99°)
OKLaboklab(44.02% 0.1492 -0.0611)
OKLCHoklch(44.02% 0.161 337.7)
XYZxyz(13.3563, 7.3496, 16.3348)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862171 #218636
analogous
#682186 #862171 #86213F
triadic
#862171 #718621 #217186
tetradic
#862171 #866821 #218636 #213F86
square
#862171 #866821 #218636 #213F86
split-complementary
#862171 #3F8621 #218668
monochromatic
#24091E #551548 #862171 #B72D9A #D34EB8

Accessibility & contrast

On white

8.50
#862171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#862171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862171
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862171#FFFFFF#000000##FFFFFF
##8621711.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8E2746
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862171;
/* rgb */ color: rgb(134, 33, 113);
/* oklch */ color: oklch(44.0% 0.161 337.7);
Tailwind
colors: {
  custom: {
    50: '#ad679a',
    500: '#862171',
    950: '#000000',
  },
}
SCSS
$custom: #862171;
$custom-light: #ad679a;
$custom-dark: #000000;
JSON
{
  "hex": "#862171",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 312.475,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.16126,
    "h": 337.7
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#862171
secondary
#4CB762
accent
#E46544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862171

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

Preview Lab → · Contrast checker → · Palette generator →

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