#872371#872371

#872371 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.160 H 338.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#872371
RGBrgb(135, 35, 113)
HSLhsl(313, 59%, 33%)
HSVhsv(313, 74%, 53%)
CMYKcmyk(0%, 74.1%, 16.3%, 47.1%)
CIE-LABlab(33.02, 50.06, -21.81)
CIE-LCHlch(33.02, 54.60, 336.46°)
OKLaboklab(44.37% 0.1482 -0.0591)
OKLCHoklch(44.37% 0.16 338.2)
XYZxyz(13.5736, 7.5465, 16.3613)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872371 #238739
analogous
#6B2387 #872371 #87233F
triadic
#872371 #718723 #237187
tetradic
#872371 #876B23 #238739 #233F87
square
#872371 #876B23 #238739 #233F87
split-complementary
#872371 #3F8723 #23876B
monochromatic
#260A20 #561648 #872371 #B8309A #D252B6

Accessibility & contrast

On white

8.37
#872371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#872371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872371
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872371#FFFFFF#000000##FFFFFF
##8723711.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#8F2847
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872371;
/* rgb */ color: rgb(135, 35, 113);
/* oklch */ color: oklch(44.4% 0.160 338.2);
Tailwind
colors: {
  custom: {
    50: '#ad689a',
    500: '#872371',
    950: '#000000',
  },
}
SCSS
$custom: #872371;
$custom-light: #ad689a;
$custom-dark: #000000;
JSON
{
  "hex": "#872371",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 313.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.15951,
    "h": 338.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#872371
secondary
#50B666
accent
#E26846
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872371

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

Preview Lab → · Contrast checker → · Palette generator →

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