#87254C#87254C

#87254C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.136 H 0.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#87254C
RGBrgb(135, 37, 76)
HSLhsl(336, 57%, 34%)
HSVhsv(336, 73%, 53%)
CMYKcmyk(0%, 72.6%, 43.7%, 47.1%)
CIE-LABlab(31.80, 44.51, 0.22)
CIE-LCHlch(31.80, 44.51, 0.29°)
OKLaboklab(42.99% 0.1364 0.0011)
OKLCHoklch(42.99% 0.136 0.5)
XYZxyz(11.9586, 6.9973, 7.5570)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254C #258760
analogous
#87257D #87254C #872F25
triadic
#87254C #4C8725 #254C87
tetradic
#87254C #7D8725 #258760 #2F2587
square
#87254C #7D8725 #258760 #2F2587
split-complementary
#87254C #25872F #257D87
monochromatic
#270B16 #571831 #87254C #B73267 #D15687

Accessibility & contrast

On white

8.75
#87254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#87254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87254C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254C#FFFFFF#000000##FFFFFF
##87254C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4D
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#931835
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87254c;
/* rgb */ color: rgb(135, 37, 76);
/* oklch */ color: oklch(43.0% 0.136 0.5);
Tailwind
colors: {
  custom: {
    50: '#ae687d',
    500: '#87254c',
    950: '#000000',
  },
}
SCSS
$custom: #87254c;
$custom-light: #ae687d;
$custom-dark: #000000;
JSON
{
  "hex": "#87254c",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 336.122,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.13639,
    "h": 0.5
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#87254C
secondary
#53B58E
accent
#E0A348
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #87254C

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

Preview Lab → · Contrast checker → · Palette generator →

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