#E54987#E54987

#E54987 is a light, vivid pink. Relative luminance 0.232; OKLCH L 64.0% C 0.198 H 0.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#E54987
RGBrgb(229, 73, 135)
HSLhsl(336, 75%, 59%)
HSVhsv(336, 68%, 90%)
CMYKcmyk(0%, 68.1%, 41%, 10.2%)
CIE-LABlab(55.25, 64.64, -0.16)
CIE-LCHlch(55.25, 64.64, 359.86°)
OKLaboklab(64.01% 0.198 0.0004)
OKLCHoklch(64.01% 0.198 0.1)
XYZxyz(39.0716, 23.1772, 25.3331)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E54987 #49E5A7
analogous
#E549D5 #E54987 #E55949
triadic
#E54987 #87E549 #4987E5
tetradic
#E54987 #D5E549 #49E5A7 #5949E5
square
#E54987 #D5E549 #49E5A7 #5949E5
split-complementary
#E54987 #49E559 #49D5E5
monochromatic
#9D164C #D31E66 #E54987 #ED7FAA #F4B4CE

Accessibility & contrast

On white

3.73
#E54987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#E54987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E54987
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E54987#FFFFFF#000000##000000
##E549871.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687189
Deuteranopia (green-blind)
#938F83
Tritanopia (blue-blind)
#F83662
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e54987;
/* rgb */ color: rgb(229, 73, 135);
/* oklch */ color: oklch(64.0% 0.198 0.1);
Tailwind
colors: {
  custom: {
    50: '#f286a9',
    500: '#e54987',
    950: '#000000',
  },
}
SCSS
$custom: #e54987;
$custom-light: #f286a9;
$custom-dark: #000000;
JSON
{
  "hex": "#e54987",
  "rgb": {
    "r": 229,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 336.154,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.198,
    "h": 0.1
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#E54987
secondary
#A6E3CB
accent
#F2A736
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #E54987

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

Preview Lab → · Contrast checker → · Palette generator →

#E54987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva