#872877#872877

#872877 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.158 H 335.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#872877
RGBrgb(135, 40, 119)
HSLhsl(310, 54%, 34%)
HSVhsv(310, 70%, 53%)
CMYKcmyk(0%, 70.4%, 11.9%, 47.1%)
CIE-LABlab(33.99, 49.10, -24.09)
CIE-LCHlch(33.99, 54.70, 333.87°)
OKLaboklab(45.16% 0.1433 -0.0657)
OKLCHoklch(45.16% 0.158 335.4)
XYZxyz(14.0804, 8.0016, 18.2521)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872877 #288738
analogous
#682887 #872877 #872848
triadic
#872877 #778728 #287787
tetradic
#872877 #876828 #288738 #284887
square
#872877 #876828 #288738 #284887
split-complementary
#872877 #488728 #288768
monochromatic
#290C24 #581A4D #872877 #B636A1 #CE5BBB

Accessibility & contrast

On white

8.08
#872877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#872877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872877
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872877#FFFFFF#000000##FFFFFF
##8728771.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#8E2F4C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872877;
/* rgb */ color: rgb(135, 40, 119);
/* oklch */ color: oklch(45.2% 0.158 335.4);
Tailwind
colors: {
  custom: {
    50: '#ad6b9e',
    500: '#872877',
    950: '#000000',
  },
}
SCSS
$custom: #872877;
$custom-light: #ad6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#872877",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 310.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.15763,
    "h": 335.4
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#872877
secondary
#57B467
accent
#DE634A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872877

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

Preview Lab → · Contrast checker → · Palette generator →

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