#872771#872771

#872771 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.154 H 338.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#872771
RGBrgb(135, 39, 113)
HSLhsl(314, 55%, 34%)
HSVhsv(314, 71%, 53%)
CMYKcmyk(0%, 71.1%, 16.3%, 47.1%)
CIE-LABlab(33.55, 48.56, -20.98)
CIE-LCHlch(33.55, 52.89, 336.63°)
OKLaboklab(44.75% 0.1436 -0.0568)
OKLCHoklch(44.75% 0.154 338.4)
XYZxyz(13.6981, 7.7954, 16.4028)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872771 #27873D
analogous
#6D2787 #872771 #872741
triadic
#872771 #718727 #277187
tetradic
#872771 #876D27 #27873D #274187
square
#872771 #876D27 #27873D #274187
split-complementary
#872771 #418727 #27876D
monochromatic
#280C22 #581949 #872771 #B63599 #CF59B4

Accessibility & contrast

On white

8.21
#872771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#872771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872771
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872771#FFFFFF#000000##FFFFFF
##8727711.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#8F2B48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872771;
/* rgb */ color: rgb(135, 39, 113);
/* oklch */ color: oklch(44.8% 0.154 338.4);
Tailwind
colors: {
  custom: {
    50: '#ad6a9a',
    500: '#872771',
    950: '#000000',
  },
}
SCSS
$custom: #872771;
$custom-light: #ad6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#872771",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 313.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.15447,
    "h": 338.4
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#872771
secondary
#56B46B
accent
#DF6B49
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872771

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

Preview Lab → · Contrast checker → · Palette generator →

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