#872865#872865

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

Color values

HEX#872865
RGBrgb(135, 40, 101)
HSLhsl(321, 54%, 34%)
HSVhsv(321, 70%, 53%)
CMYKcmyk(0%, 70.4%, 25.2%, 47.1%)
CIE-LABlab(33.16, 46.40, -13.95)
CIE-LCHlch(33.16, 48.45, 343.26°)
OKLaboklab(44.29% 0.1401 -0.0371)
OKLCHoklch(44.29% 0.145 345.2)
XYZxyz(13.0999, 7.6094, 13.0883)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872865 #28874A
analogous
#7A2887 #872865 #872835
triadic
#872865 #658728 #286587
tetradic
#872865 #877A28 #28874A #283587
square
#872865 #877A28 #28874A #283587
split-complementary
#872865 #358728 #28877A
monochromatic
#290C1E #581A42 #872865 #B63688 #CE5BA5

Accessibility & contrast

On white

8.33
#872865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#872865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872865
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872865#FFFFFF#000000##FFFFFF
##8728651.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872865;
/* rgb */ color: rgb(135, 40, 101);
/* oklch */ color: oklch(44.3% 0.145 345.2);
Tailwind
colors: {
  custom: {
    50: '#ad6a91',
    500: '#872865',
    950: '#000000',
  },
}
SCSS
$custom: #872865;
$custom-light: #ad6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#872865",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 321.474,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.14494,
    "h": 345.2
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#872865
secondary
#57B478
accent
#DE7F4A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #872865

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

Preview Lab → · Contrast checker → · Palette generator →

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