#87246B#87246B

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

Color values

HEX#87246B
RGBrgb(135, 36, 107)
HSLhsl(317, 58%, 34%)
HSVhsv(317, 73%, 53%)
CMYKcmyk(0%, 73.3%, 20.7%, 47.1%)
CIE-LABlab(32.87, 48.80, -18.23)
CIE-LCHlch(32.87, 52.10, 339.51°)
OKLaboklab(44.16% 0.1461 -0.049)
OKLCHoklch(44.16% 0.154 341.5)
XYZxyz(13.2768, 7.4755, 14.6508)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87246B #248740
analogous
#712487 #87246B #872439
triadic
#87246B #6B8724 #246B87
tetradic
#87246B #877124 #248740 #243987
square
#87246B #877124 #248740 #243987
split-complementary
#87246B #398724 #248771
monochromatic
#260A1E #571745 #87246B #B73191 #D154AE

Accessibility & contrast

On white

8.42
#87246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#87246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87246B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87246B#FFFFFF#000000##FFFFFF
##87246B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#8F2644
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87246b;
/* rgb */ color: rgb(135, 36, 107);
/* oklch */ color: oklch(44.2% 0.154 341.5);
Tailwind
colors: {
  custom: {
    50: '#ad6895',
    500: '#87246b',
    950: '#000000',
  },
}
SCSS
$custom: #87246b;
$custom-light: #ad6895;
$custom-dark: #000000;
JSON
{
  "hex": "#87246b",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 316.97,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.1541,
    "h": 341.5
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#87246B
secondary
#51B56E
accent
#E17247
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87246B

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

Preview Lab → · Contrast checker → · Palette generator →

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