#872866#872866

#872866 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.146 H 344.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#872866
RGBrgb(135, 40, 102)
HSLhsl(321, 54%, 34%)
HSVhsv(321, 70%, 53%)
CMYKcmyk(0%, 70.4%, 24.4%, 47.1%)
CIE-LABlab(33.20, 46.54, -14.53)
CIE-LCHlch(33.20, 48.75, 342.66°)
OKLaboklab(44.33% 0.1403 -0.0387)
OKLCHoklch(44.33% 0.146 344.6)
XYZxyz(13.1492, 7.6291, 13.3479)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872866 #288749
analogous
#792887 #872866 #872837
triadic
#872866 #668728 #286687
tetradic
#872866 #877928 #288749 #283787
square
#872866 #877928 #288749 #283787
split-complementary
#872866 #378728 #288779
monochromatic
#290C1F #581A42 #872866 #B6368A #CE5BA6

Accessibility & contrast

On white

8.31
#872866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#872866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872866
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872866#FFFFFF#000000##FFFFFF
##8728661.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324468
Deuteranopia (green-blind)
#4E5464
Tritanopia (blue-blind)
#902743
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #872866;
/* rgb */ color: rgb(135, 40, 102);
/* oklch */ color: oklch(44.3% 0.146 344.6);
Tailwind
colors: {
  custom: {
    50: '#ad6a91',
    500: '#872866',
    950: '#000000',
  },
}
SCSS
$custom: #872866;
$custom-light: #ad6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#872866",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 320.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.14557,
    "h": 344.6
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#872866
secondary
#57B477
accent
#DE7D4A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #872866

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

Preview Lab → · Contrast checker → · Palette generator →

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