#872476#872476

#872476 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.162 H 335.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#872476
RGBrgb(135, 36, 118)
HSLhsl(310, 58%, 34%)
HSVhsv(310, 73%, 53%)
CMYKcmyk(0%, 73.3%, 12.6%, 47.1%)
CIE-LABlab(33.40, 50.47, -24.38)
CIE-LCHlch(33.40, 56.05, 334.21°)
OKLaboklab(44.72% 0.1477 -0.0665)
OKLCHoklch(44.72% 0.162 335.8)
XYZxyz(13.8928, 7.7219, 17.8948)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872476 #248735
analogous
#662487 #872476 #872444
triadic
#872476 #768724 #247687
tetradic
#872476 #876624 #248735 #244487
square
#872476 #876624 #248735 #244487
split-complementary
#872476 #448724 #248766
monochromatic
#260A22 #57174C #872476 #B731A0 #D154BC

Accessibility & contrast

On white

8.25
#872476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#872476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872476
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872476#FFFFFF#000000##FFFFFF
##8724761.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#8E2B4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872476;
/* rgb */ color: rgb(135, 36, 118);
/* oklch */ color: oklch(44.7% 0.162 335.8);
Tailwind
colors: {
  custom: {
    50: '#ad699e',
    500: '#872476',
    950: '#000000',
  },
}
SCSS
$custom: #872476;
$custom-light: #ad699e;
$custom-dark: #000000;
JSON
{
  "hex": "#872476",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 310.303,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.16195,
    "h": 335.8
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#872476
secondary
#51B563
accent
#E16147
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #872476

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

Preview Lab → · Contrast checker → · Palette generator →

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