#EF54D2#EF54D2

#EF54D2 is a light, highly saturated pink. Relative luminance 0.293; OKLCH L 69.5% C 0.232 H 336.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#EF54D2
RGBrgb(239, 84, 210)
HSLhsl(311, 83%, 63%)
HSVhsv(311, 65%, 94%)
CMYKcmyk(0%, 64.9%, 12.1%, 6.3%)
CIE-LABlab(61.09, 72.42, -34.60)
CIE-LCHlch(61.09, 80.26, 334.47°)
OKLaboklab(69.49% 0.2118 -0.0941)
OKLCHoklch(69.49% 0.232 336)
XYZxyz(50.4004, 29.3488, 63.9707)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54D2 #54EF71
analogous
#BF54EF #EF54D2 #EF5484
triadic
#EF54D2 #D2EF54 #54D2EF
tetradic
#EF54D2 #EFBF54 #54EF71 #5484EF
square
#EF54D2 #EFBF54 #54EF71 #5484EF
split-complementary
#EF54D2 #84EF54 #54EFBF
monochromatic
#B71198 #EA1CC3 #EF54D2 #F48CE1 #F9C4EF

Accessibility & contrast

On white

3.06
#EF54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#EF54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54D2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54D2#FFFFFF#000000##000000
##EF54D21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D6
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#FB5D8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ef54d2;
/* rgb */ color: rgb(239, 84, 210);
/* oklch */ color: oklch(69.5% 0.232 336.0);
Tailwind
colors: {
  custom: {
    50: '#f88ee0',
    500: '#ef54d2',
    950: '#000000',
  },
}
SCSS
$custom: #ef54d2;
$custom-light: #f88ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54d2",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 311.226,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69493,
    "c": 0.23177,
    "h": 336
  },
  "luminance": 0.29345
}

Semantic roles & 50–950 ramp

primary
#EF54D2
secondary
#B4EBBE
accent
#DF2F06
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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