#872772#872772

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

Color values

HEX#872772
RGBrgb(135, 39, 114)
HSLhsl(313, 55%, 34%)
HSVhsv(313, 71%, 53%)
CMYKcmyk(0%, 71.1%, 15.6%, 47.1%)
CIE-LABlab(33.60, 48.71, -21.54)
CIE-LCHlch(33.60, 53.26, 336.14°)
OKLaboklab(44.81% 0.1438 -0.0584)
OKLCHoklch(44.81% 0.155 337.9)
XYZxyz(13.7547, 7.8181, 16.7010)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872772 #27873C
analogous
#6C2787 #872772 #872742
triadic
#872772 #728727 #277287
tetradic
#872772 #876C27 #27873C #274287
square
#872772 #876C27 #27873C #274287
split-complementary
#872772 #428727 #27876C
monochromatic
#280C22 #58194A #872772 #B6359A #CF59B5

Accessibility & contrast

On white

8.19
#872772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872772
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872772#FFFFFF#000000##FFFFFF
##8727721.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#4A5470
Tritanopia (blue-blind)
#8E2C49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872772;
/* rgb */ color: rgb(135, 39, 114);
/* oklch */ color: oklch(44.8% 0.155 337.9);
Tailwind
colors: {
  custom: {
    50: '#ad6a9a',
    500: '#872772',
    950: '#000000',
  },
}
SCSS
$custom: #872772;
$custom-light: #ad6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#872772",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 313.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.15519,
    "h": 337.9
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#872772
secondary
#56B46A
accent
#DF6A49
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872772

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

Preview Lab → · Contrast checker → · Palette generator →

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