#87245F#87245F

#87245F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 348.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#87245F
RGBrgb(135, 36, 95)
HSLhsl(324, 58%, 34%)
HSVhsv(324, 73%, 53%)
CMYKcmyk(0%, 73.3%, 29.6%, 47.1%)
CIE-LABlab(32.35, 47.15, -11.33)
CIE-LCHlch(32.35, 48.49, 346.49°)
OKLaboklab(43.62% 0.1435 -0.0298)
OKLCHoklch(43.62% 0.147 348.3)
XYZxyz(12.6887, 7.2403, 11.5535)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87245F #24874C
analogous
#7D2487 #87245F #87242D
triadic
#87245F #5F8724 #245F87
tetradic
#87245F #877D24 #24874C #242D87
square
#87245F #877D24 #24874C #242D87
split-complementary
#87245F #2D8724 #24877D
monochromatic
#260A1B #57173D #87245F #B73181 #D1549F

Accessibility & contrast

On white

8.58
#87245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#87245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87245F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87245F#FFFFFF#000000##FFFFFF
##87245F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#4F525D
Tritanopia (blue-blind)
#91203E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87245f;
/* rgb */ color: rgb(135, 36, 95);
/* oklch */ color: oklch(43.6% 0.147 348.3);
Tailwind
colors: {
  custom: {
    50: '#ae688c',
    500: '#87245f',
    950: '#000000',
  },
}
SCSS
$custom: #87245f;
$custom-light: #ae688c;
$custom-dark: #000000;
JSON
{
  "hex": "#87245f",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 324.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.14655,
    "h": 348.3
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#87245F
secondary
#51B57A
accent
#E18547
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #87245F

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

Preview Lab → · Contrast checker → · Palette generator →

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