#E54AC5#E54AC5

#E54AC5 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.5% C 0.229 H 337.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#E54AC5
RGBrgb(229, 74, 197)
HSLhsl(312, 75%, 59%)
HSVhsv(312, 68%, 90%)
CMYKcmyk(0%, 67.7%, 14%, 10.2%)
CIE-LABlab(57.65, 71.80, -32.68)
CIE-LCHlch(57.65, 78.88, 335.53°)
OKLaboklab(66.51% 0.2113 -0.0887)
OKLCHoklch(66.51% 0.229 337.2)
XYZxyz(44.8407, 25.5908, 55.3904)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E54AC5 #4AE56A
analogous
#B84AE5 #E54AC5 #E54A78
triadic
#E54AC5 #C5E54A #4AC5E5
tetradic
#E54AC5 #E5B84A #4AE56A #4A78E5
square
#E54AC5 #E5B84A #4AE56A #4A78E5
split-complementary
#E54AC5 #78E54A #4AE5B8
monochromatic
#9E1782 #D31EAE #E54AC5 #ED80D6 #F4B5E7

Accessibility & contrast

On white

3.43
#E54AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#E54AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E54AC5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E54AC5#FFFFFF#000000##000000
##E54AC51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC9
Deuteranopia (green-blind)
#8193C1
Tritanopia (blue-blind)
#F15281
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e54ac5;
/* rgb */ color: rgb(229, 74, 197);
/* oklch */ color: oklch(66.5% 0.229 337.2);
Tailwind
colors: {
  custom: {
    50: '#f188d7',
    500: '#e54ac5',
    950: '#000000',
  },
}
SCSS
$custom: #e54ac5;
$custom-light: #f188d7;
$custom-dark: #000000;
JSON
{
  "hex": "#e54ac5",
  "rgb": {
    "r": 229,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 312.387,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66505,
    "c": 0.22916,
    "h": 337.2
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#E54AC5
secondary
#A7E4B4
accent
#F15D36
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #E54AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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