#87246C#87246C

#87246C is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.155 H 340.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#87246C
RGBrgb(135, 36, 108)
HSLhsl(316, 58%, 34%)
HSVhsv(316, 73%, 53%)
CMYKcmyk(0%, 73.3%, 20%, 47.1%)
CIE-LABlab(32.91, 48.95, -18.80)
CIE-LCHlch(32.91, 52.43, 338.99°)
OKLaboklab(44.21% 0.1463 -0.0506)
OKLCHoklch(44.21% 0.155 340.9)
XYZxyz(13.3297, 7.4967, 14.9294)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87246C #24873F
analogous
#702487 #87246C #87243A
triadic
#87246C #6C8724 #246C87
tetradic
#87246C #877024 #24873F #243A87
square
#87246C #877024 #24873F #243A87
split-complementary
#87246C #3A8724 #248770
monochromatic
#260A1F #571745 #87246C #B73193 #D154AF

Accessibility & contrast

On white

8.40
#87246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#87246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87246C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87246C#FFFFFF#000000##FFFFFF
##87246C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#4B536A
Tritanopia (blue-blind)
#8F2645
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87246c;
/* rgb */ color: rgb(135, 36, 108);
/* oklch */ color: oklch(44.2% 0.155 340.9);
Tailwind
colors: {
  custom: {
    50: '#ad6896',
    500: '#87246c',
    950: '#000000',
  },
}
SCSS
$custom: #87246c;
$custom-light: #ad6896;
$custom-dark: #000000;
JSON
{
  "hex": "#87246c",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 316.364,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.15478,
    "h": 340.9
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#87246C
secondary
#51B56D
accent
#E17147
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87246C

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

Preview Lab → · Contrast checker → · Palette generator →

#87246C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva