#872977#872977

#872977 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.156 H 335.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#872977
RGBrgb(135, 41, 119)
HSLhsl(310, 53%, 35%)
HSVhsv(310, 70%, 53%)
CMYKcmyk(0%, 69.6%, 11.9%, 47.1%)
CIE-LABlab(34.13, 48.71, -23.87)
CIE-LCHlch(34.13, 54.24, 333.89°)
OKLaboklab(45.27% 0.1421 -0.0651)
OKLCHoklch(45.27% 0.156 335.4)
XYZxyz(14.1145, 8.0699, 18.2635)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872977 #298739
analogous
#682987 #872977 #872948
triadic
#872977 #778729 #297787
tetradic
#872977 #876829 #298739 #294887
square
#872977 #876829 #298739 #294887
split-complementary
#872977 #488729 #298768
monochromatic
#290C24 #581B4E #872977 #B637A0 #CE5DBA

Accessibility & contrast

On white

8.03
#872977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#872977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872977
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872977#FFFFFF#000000##FFFFFF
##8729771.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872977;
/* rgb */ color: rgb(135, 41, 119);
/* oklch */ color: oklch(45.3% 0.156 335.4);
Tailwind
colors: {
  custom: {
    50: '#ad6b9e',
    500: '#872977',
    950: '#000000',
  },
}
SCSS
$custom: #872977;
$custom-light: #ad6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#872977",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 310.213,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.1563,
    "h": 335.4
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#872977
secondary
#59B368
accent
#DD644B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872977

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

Preview Lab → · Contrast checker → · Palette generator →

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