#872776#872776

#872776 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 335.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#872776
RGBrgb(135, 39, 118)
HSLhsl(311, 55%, 34%)
HSVhsv(311, 71%, 53%)
CMYKcmyk(0%, 71.1%, 12.6%, 47.1%)
CIE-LABlab(33.80, 49.34, -23.76)
CIE-LCHlch(33.80, 54.76, 334.29°)
OKLaboklab(45.01% 0.1443 -0.0647)
OKLCHoklch(45.01% 0.158 335.8)
XYZxyz(13.9874, 7.9112, 17.9264)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872776 #278738
analogous
#682787 #872776 #872746
triadic
#872776 #768727 #277687
tetradic
#872776 #876827 #278738 #274687
square
#872776 #876827 #278738 #274687
split-complementary
#872776 #468727 #278768
monochromatic
#280C23 #58194C #872776 #B635A0 #CF59BA

Accessibility & contrast

On white

8.13
#872776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#872776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872776
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872776#FFFFFF#000000##FFFFFF
##8727761.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#8E2D4B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872776;
/* rgb */ color: rgb(135, 39, 118);
/* oklch */ color: oklch(45.0% 0.158 335.8);
Tailwind
colors: {
  custom: {
    50: '#ad6a9d',
    500: '#872776',
    950: '#000000',
  },
}
SCSS
$custom: #872776;
$custom-light: #ad6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#872776",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 310.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.15818,
    "h": 335.8
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#872776
secondary
#56B466
accent
#DF6449
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872776

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

Preview Lab → · Contrast checker → · Palette generator →

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