#EF54AB#EF54AB

#EF54AB is a light, highly saturated pink. Relative luminance 0.276; OKLCH L 67.9% C 0.208 H 349.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EF54AB
RGBrgb(239, 84, 171)
HSLhsl(326, 83%, 63%)
HSVhsv(326, 65%, 94%)
CMYKcmyk(0%, 64.9%, 28.5%, 6.3%)
CIE-LABlab(59.56, 67.22, -14.65)
CIE-LCHlch(59.56, 68.80, 347.71°)
OKLaboklab(67.87% 0.2043 -0.0383)
OKLCHoklch(67.87% 0.208 349.4)
XYZxyz(46.1197, 27.6365, 41.4257)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54AB #54EF98
analogous
#E654EF #EF54AB #EF545D
triadic
#EF54AB #ABEF54 #54ABEF
tetradic
#EF54AB #EFE654 #54EF98 #545DEF
square
#EF54AB #EFE654 #54EF98 #545DEF
split-complementary
#EF54AB #5DEF54 #54EFE6
monochromatic
#B7116E #EA1C90 #EF54AB #F48CC6 #F9C4E2

Accessibility & contrast

On white

3.22
#EF54AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#EF54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54AB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54AB#FFFFFF#000000##000000
##EF54AB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAE
Deuteranopia (green-blind)
#9599A7
Tritanopia (blue-blind)
#FF4D78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ef54ab;
/* rgb */ color: rgb(239, 84, 171);
/* oklch */ color: oklch(67.9% 0.208 349.4);
Tailwind
colors: {
  custom: {
    50: '#f88dc4',
    500: '#ef54ab',
    950: '#000000',
  },
}
SCSS
$custom: #ef54ab;
$custom-light: #f88dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54ab",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 326.323,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.20785,
    "h": 349.4
  },
  "luminance": 0.27632
}

Semantic roles & 50–950 ramp

primary
#EF54AB
secondary
#B4EBCC
accent
#DF6506
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #EF54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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