#87254B#87254B

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

Color values

HEX#87254B
RGBrgb(135, 37, 75)
HSLhsl(337, 57%, 34%)
HSVhsv(337, 73%, 53%)
CMYKcmyk(0%, 72.6%, 44.4%, 47.1%)
CIE-LABlab(31.77, 44.40, 0.83)
CIE-LCHlch(31.77, 44.41, 1.08°)
OKLaboklab(42.96% 0.136 0.0027)
OKLCHoklch(42.96% 0.136 1.1)
XYZxyz(11.9241, 6.9835, 7.3753)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254B #258761
analogous
#87257C #87254B #873025
triadic
#87254B #4B8725 #254B87
tetradic
#87254B #7C8725 #258761 #302587
square
#87254B #7C8725 #258761 #302587
split-complementary
#87254B #258730 #257C87
monochromatic
#270B16 #571830 #87254B #B73266 #D15685

Accessibility & contrast

On white

8.76
#87254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87254B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254B#FFFFFF#000000##FFFFFF
##87254B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#931735
Achromatopsia (no color)
#4B4B4B

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#87254B
secondary
#53B58F
accent
#E0A548
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #87254B

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

Preview Lab → · Contrast checker → · Palette generator →

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