#87254E#87254E

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

Color values

HEX#87254E
RGBrgb(135, 37, 78)
HSLhsl(335, 57%, 34%)
HSVhsv(335, 73%, 53%)
CMYKcmyk(0%, 72.6%, 42.2%, 47.1%)
CIE-LABlab(31.87, 44.72, -0.99)
CIE-LCHlch(31.87, 44.73, 358.73°)
OKLaboklab(43.06% 0.1371 -0.0021)
OKLCHoklch(43.06% 0.137 359.1)
XYZxyz(12.0292, 7.0256, 7.9289)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254E #25875E
analogous
#87257F #87254E #872D25
triadic
#87254E #4E8725 #254E87
tetradic
#87254E #7F8725 #25875E #2D2587
square
#87254E #7F8725 #25875E #2D2587
split-complementary
#87254E #25872D #257F87
monochromatic
#270B16 #571832 #87254E #B7326A #D15689

Accessibility & contrast

On white

8.73
#87254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87254E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254E#FFFFFF#000000##FFFFFF
##87254E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#53524C
Tritanopia (blue-blind)
#921936
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87254e;
/* rgb */ color: rgb(135, 37, 78);
/* oklch */ color: oklch(43.1% 0.137 359.1);
Tailwind
colors: {
  custom: {
    50: '#ae687f',
    500: '#87254e',
    950: '#000000',
  },
}
SCSS
$custom: #87254e;
$custom-light: #ae687f;
$custom-dark: #000000;
JSON
{
  "hex": "#87254e",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 334.898,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.13712,
    "h": 359.1
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#87254E
secondary
#53B58C
accent
#E0A048
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #87254E

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

Preview Lab → · Contrast checker → · Palette generator →

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