#E54FC6#E54FC6

#E54FC6 is a light, highly saturated pink. Relative luminance 0.263; OKLCH L 67.0% C 0.224 H 337.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#E54FC6
RGBrgb(229, 79, 198)
HSLhsl(312, 74%, 60%)
HSVhsv(312, 66%, 90%)
CMYKcmyk(0%, 65.5%, 13.5%, 10.2%)
CIE-LABlab(58.35, 70.10, -32.16)
CIE-LCHlch(58.35, 77.12, 335.36°)
OKLaboklab(67.03% 0.2059 -0.0873)
OKLCHoklch(67.03% 0.224 337)
XYZxyz(45.3028, 26.3311, 56.1116)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E54FC6 #4FE56E
analogous
#B94FE5 #E54FC6 #E54F7B
triadic
#E54FC6 #C6E54F #4FC6E5
tetradic
#E54FC6 #E5B94F #4FE56E #4F7BE5
square
#E54FC6 #E5B94F #4FE56E #4F7BE5
split-complementary
#E54FC6 #7BE54F #4FE5B9
monochromatic
#A21885 #D720B1 #E54FC6 #ED84D7 #F5BAE9

Accessibility & contrast

On white

3.35
#E54FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#E54FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E54FC6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E54FC6#FFFFFF#000000##000000
##E54FC61.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537EC9
Deuteranopia (green-blind)
#8395C2
Tritanopia (blue-blind)
#F15784
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e54fc6;
/* rgb */ color: rgb(229, 79, 198);
/* oklch */ color: oklch(67.0% 0.224 337.0);
Tailwind
colors: {
  custom: {
    50: '#f18bd7',
    500: '#e54fc6',
    950: '#000000',
  },
}
SCSS
$custom: #e54fc6;
$custom-light: #f18bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#e54fc6",
  "rgb": {
    "r": 229,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 312.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6703,
    "c": 0.22366,
    "h": 337
  },
  "luminance": 0.26327
}

Semantic roles & 50–950 ramp

primary
#E54FC6
secondary
#ABE5B7
accent
#D6380F
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E54FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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