#872873#872873

#872873 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.155 H 337.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#872873
RGBrgb(135, 40, 115)
HSLhsl(313, 54%, 34%)
HSVhsv(313, 70%, 53%)
CMYKcmyk(0%, 70.4%, 14.8%, 47.1%)
CIE-LABlab(33.79, 48.47, -21.88)
CIE-LCHlch(33.79, 53.18, 335.71°)
OKLaboklab(44.96% 0.1428 -0.0594)
OKLCHoklch(44.96% 0.155 337.4)
XYZxyz(13.8452, 7.9075, 17.0135)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872873 #28873C
analogous
#6C2887 #872873 #872843
triadic
#872873 #738728 #287387
tetradic
#872873 #876C28 #28873C #284387
square
#872873 #876C28 #28873C #284387
split-complementary
#872873 #438728 #28876C
monochromatic
#290C23 #581A4B #872873 #B6369B #CE5BB6

Accessibility & contrast

On white

8.14
#872873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872873
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872873#FFFFFF#000000##FFFFFF
##8728731.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#8E2D4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872873;
/* rgb */ color: rgb(135, 40, 115);
/* oklch */ color: oklch(45.0% 0.155 337.4);
Tailwind
colors: {
  custom: {
    50: '#ad6a9b',
    500: '#872873',
    950: '#000000',
  },
}
SCSS
$custom: #872873;
$custom-light: #ad6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#872873",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 312.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.15461,
    "h": 337.4
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#872873
secondary
#57B46B
accent
#DE694A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872873

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

Preview Lab → · Contrast checker → · Palette generator →

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