#872071#872071

#872071 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.163 H 338.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#872071
RGBrgb(135, 32, 113)
HSLhsl(313, 62%, 33%)
HSVhsv(313, 76%, 53%)
CMYKcmyk(0%, 76.3%, 16.3%, 47.1%)
CIE-LABlab(32.65, 51.10, -22.39)
CIE-LCHlch(32.65, 55.79, 336.34°)
OKLaboklab(44.1% 0.1513 -0.0607)
OKLCHoklch(44.1% 0.163 338.1)
XYZxyz(13.4891, 7.3775, 16.3332)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872071 #208736
analogous
#6A2087 #872071 #87203D
triadic
#872071 #718720 #207187
tetradic
#872071 #876A20 #208736 #203D87
square
#872071 #876A20 #208736 #203D87
split-complementary
#872071 #3D8720 #20876A
monochromatic
#24091E #561448 #872071 #B82C9A #D54DB8

Accessibility & contrast

On white

8.48
#872071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#872071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872071
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872071#FFFFFF#000000##FFFFFF
##8720711.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872071;
/* rgb */ color: rgb(135, 32, 113);
/* oklch */ color: oklch(44.1% 0.163 338.1);
Tailwind
colors: {
  custom: {
    50: '#ad679a',
    500: '#872071',
    950: '#000000',
  },
}
SCSS
$custom: #872071;
$custom-light: #ad679a;
$custom-dark: #000000;
JSON
{
  "hex": "#872071",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 312.816,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.16303,
    "h": 338.1
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#872071
secondary
#4BB862
accent
#E56643
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872071

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

Preview Lab → · Contrast checker → · Palette generator →

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