#861871#861871

#861871 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.171 H 337.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#861871
RGBrgb(134, 24, 113)
HSLhsl(311, 70%, 31%)
HSVhsv(311, 82%, 53%)
CMYKcmyk(0%, 82.1%, 15.7%, 47.5%)
CIE-LABlab(31.61, 53.30, -24.02)
CIE-LCHlch(31.61, 58.47, 335.74°)
OKLaboklab(43.32% 0.1576 -0.0654)
OKLCHoklch(43.32% 0.171 337.5)
XYZxyz(13.1391, 6.9151, 16.2624)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861871 #18862D
analogous
#641886 #861871 #86183A
triadic
#861871 #718618 #187186
tetradic
#861871 #866418 #18862D #183A86
square
#861871 #866418 #18862D #183A86
split-complementary
#861871 #3A8618 #188664
monochromatic
#1E0519 #520F45 #861871 #BA219D #DC3CBE

Accessibility & contrast

On white

8.81
#861871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#861871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861871
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861871#FFFFFF#000000##FFFFFF
##8618711.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#8E2044
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #861871;
/* rgb */ color: rgb(134, 24, 113);
/* oklch */ color: oklch(43.3% 0.171 337.5);
Tailwind
colors: {
  custom: {
    50: '#ad649a',
    500: '#861871',
    950: '#000000',
  },
}
SCSS
$custom: #861871;
$custom-light: #ad649a;
$custom-dark: #000000;
JSON
{
  "hex": "#861871",
  "rgb": {
    "r": 134,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 311.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.17065,
    "h": 337.5
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#861871
secondary
#40BA57
accent
#EC5D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #861871

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

Preview Lab → · Contrast checker → · Palette generator →

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