#871962#871962

#871962 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.161 H 345.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#871962
RGBrgb(135, 25, 98)
HSLhsl(320, 69%, 31%)
HSVhsv(320, 81%, 53%)
CMYKcmyk(0%, 81.5%, 27.4%, 47.1%)
CIE-LABlab(31.18, 51.20, -15.05)
CIE-LCHlch(31.18, 53.36, 343.62°)
OKLaboklab(42.81% 0.1556 -0.04)
OKLCHoklch(42.81% 0.161 345.6)
XYZxyz(12.5445, 6.7294, 12.1912)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871962 #19873E
analogous
#751987 #871962 #87192B
triadic
#871962 #628719 #196287
tetradic
#871962 #877519 #19873E #192B87
square
#871962 #877519 #19873E #192B87
split-complementary
#871962 #2B8719 #198775
monochromatic
#200617 #530F3D #871962 #BB2387 #DB3FA7

Accessibility & contrast

On white

8.95
#871962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871962
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871962#FFFFFF#000000##FFFFFF
##8719621.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E64
Deuteranopia (green-blind)
#4B5060
Tritanopia (blue-blind)
#91163C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871962;
/* rgb */ color: rgb(135, 25, 98);
/* oklch */ color: oklch(42.8% 0.161 345.6);
Tailwind
colors: {
  custom: {
    50: '#ae648e',
    500: '#871962',
    950: '#000000',
  },
}
SCSS
$custom: #871962;
$custom-light: #ae648e;
$custom-dark: #000000;
JSON
{
  "hex": "#871962",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 320.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.16063,
    "h": 345.6
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#871962
secondary
#41BA6A
accent
#EC773C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871962

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

Preview Lab → · Contrast checker → · Palette generator →

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