#87254F#87254F

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

Color values

HEX#87254F
RGBrgb(135, 37, 79)
HSLhsl(334, 57%, 34%)
HSVhsv(334, 73%, 53%)
CMYKcmyk(0%, 72.6%, 41.5%, 47.1%)
CIE-LABlab(31.90, 44.83, -1.60)
CIE-LCHlch(31.90, 44.86, 357.96°)
OKLaboklab(43.09% 0.1375 -0.0036)
OKLCHoklch(43.09% 0.138 358.5)
XYZxyz(12.0654, 7.0400, 8.1191)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87254F #25875D
analogous
#872580 #87254F #872C25
triadic
#87254F #4F8725 #254F87
tetradic
#87254F #808725 #25875D #2C2587
square
#87254F #808725 #25875D #2C2587
split-complementary
#87254F #25872C #258087
monochromatic
#270B17 #571833 #87254F #B7326B #D1568A

Accessibility & contrast

On white

8.72
#87254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#87254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87254F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87254F#FFFFFF#000000##FFFFFF
##87254F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F50
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#921937
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #87254f;
/* rgb */ color: rgb(135, 37, 79);
/* oklch */ color: oklch(43.1% 0.138 358.5);
Tailwind
colors: {
  custom: {
    50: '#ae6880',
    500: '#87254f',
    950: '#000000',
  },
}
SCSS
$custom: #87254f;
$custom-light: #ae6880;
$custom-dark: #000000;
JSON
{
  "hex": "#87254f",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 334.286,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.1375,
    "h": 358.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#87254F
secondary
#53B58B
accent
#E09F48
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #87254F

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

Preview Lab → · Contrast checker → · Palette generator →

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