#87254D#87254D

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

Color values

HEX#87254D
RGBrgb(135, 37, 77)
HSLhsl(336, 57%, 34%)
HSVhsv(336, 73%, 53%)
CMYKcmyk(0%, 72.6%, 43%, 47.1%)
CIE-LABlab(31.83, 44.61, -0.38)
CIE-LCHlch(31.83, 44.62, 359.51°)
OKLaboklab(43.02% 0.1368 -0.0005)
OKLCHoklch(43.02% 0.137 359.8)
XYZxyz(11.9937, 7.0113, 7.7415)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254D #25875F
analogous
#87257E #87254D #872E25
triadic
#87254D #4D8725 #254D87
tetradic
#87254D #7E8725 #25875F #2E2587
square
#87254D #7E8725 #25875F #2E2587
split-complementary
#87254D #25872E #257E87
monochromatic
#270B16 #571832 #87254D #B73268 #D15688

Accessibility & contrast

On white

8.74
#87254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87254D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254D#FFFFFF#000000##FFFFFF
##87254D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4E
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#921836
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87254d;
/* rgb */ color: rgb(135, 37, 77);
/* oklch */ color: oklch(43.0% 0.137 359.8);
Tailwind
colors: {
  custom: {
    50: '#ae687e',
    500: '#87254d',
    950: '#000000',
  },
}
SCSS
$custom: #87254d;
$custom-light: #ae687e;
$custom-dark: #000000;
JSON
{
  "hex": "#87254d",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 335.51,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.13675,
    "h": 359.8
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#87254D
secondary
#53B58D
accent
#E0A248
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #87254D

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

Preview Lab → · Contrast checker → · Palette generator →

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