#87254A#87254A

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

Color values

HEX#87254A
RGBrgb(135, 37, 74)
HSLhsl(337, 57%, 34%)
HSVhsv(337, 73%, 53%)
CMYKcmyk(0%, 72.6%, 45.2%, 47.1%)
CIE-LABlab(31.74, 44.30, 1.45)
CIE-LCHlch(31.74, 44.32, 1.87°)
OKLaboklab(42.92% 0.1357 0.0042)
OKLCHoklch(42.92% 0.136 1.8)
XYZxyz(11.8902, 6.9700, 7.1964)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254A #258762
analogous
#87257B #87254A #873125
triadic
#87254A #4A8725 #254A87
tetradic
#87254A #7B8725 #258762 #312587
square
#87254A #7B8725 #258762 #312587
split-complementary
#87254A #258731 #257B87
monochromatic
#270B15 #571830 #87254A #B73264 #D15684

Accessibility & contrast

On white

8.77
#87254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#87254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87254A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254A#FFFFFF#000000##FFFFFF
##87254A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4B
Deuteranopia (green-blind)
#545248
Tritanopia (blue-blind)
#931734
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87254a;
/* rgb */ color: rgb(135, 37, 74);
/* oklch */ color: oklch(42.9% 0.136 1.8);
Tailwind
colors: {
  custom: {
    50: '#af687c',
    500: '#87254a',
    950: '#000000',
  },
}
SCSS
$custom: #87254a;
$custom-light: #af687c;
$custom-dark: #000000;
JSON
{
  "hex": "#87254a",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 337.347,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42923,
    "c": 0.13573,
    "h": 1.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#87254A
secondary
#53B590
accent
#E0A748
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #87254A

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

Preview Lab → · Contrast checker → · Palette generator →

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