#872872#872872

#872872 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.154 H 337.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#872872
RGBrgb(135, 40, 114)
HSLhsl(313, 54%, 34%)
HSVhsv(313, 70%, 53%)
CMYKcmyk(0%, 70.4%, 15.6%, 47.1%)
CIE-LABlab(33.74, 48.32, -21.32)
CIE-LCHlch(33.74, 52.81, 336.19°)
OKLaboklab(44.91% 0.1426 -0.0578)
OKLCHoklch(44.91% 0.154 337.9)
XYZxyz(13.7880, 7.8846, 16.7120)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872872 #28873D
analogous
#6D2887 #872872 #872843
triadic
#872872 #728728 #287287
tetradic
#872872 #876D28 #28873D #284387
square
#872872 #876D28 #28873D #284387
split-complementary
#872872 #438728 #28876D
monochromatic
#290C22 #581A4A #872872 #B6369A #CE5BB5

Accessibility & contrast

On white

8.15
#872872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872872
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872872#FFFFFF#000000##FFFFFF
##8728721.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872872;
/* rgb */ color: rgb(135, 40, 114);
/* oklch */ color: oklch(44.9% 0.154 337.9);
Tailwind
colors: {
  custom: {
    50: '#ad6a9a',
    500: '#872872',
    950: '#000000',
  },
}
SCSS
$custom: #872872;
$custom-light: #ad6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#872872",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 313.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.15388,
    "h": 337.9
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#872872
secondary
#57B46C
accent
#DE6B4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872872

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

Preview Lab → · Contrast checker → · Palette generator →

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