#EF54A2#EF54A2

#EF54A2 is a light, highly saturated pink. Relative luminance 0.273; OKLCH L 67.5% C 0.203 H 352.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#EF54A2
RGBrgb(239, 84, 162)
HSLhsl(330, 83%, 63%)
HSVhsv(330, 65%, 94%)
CMYKcmyk(0%, 64.9%, 32.2%, 6.3%)
CIE-LABlab(59.26, 66.16, -9.89)
CIE-LCHlch(59.26, 66.89, 351.50°)
OKLaboklab(67.55% 0.2019 -0.0254)
OKLCHoklch(67.55% 0.203 352.8)
XYZxyz(45.2909, 27.3050, 37.0607)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF54A2 #54EFA1
analogous
#EE54EF #EF54A2 #EF5454
triadic
#EF54A2 #A2EF54 #54A2EF
tetradic
#EF54A2 #EFEE54 #54EFA1 #5454EF
square
#EF54A2 #EFEE54 #54EFA1 #5454EF
split-complementary
#EF54A2 #54EF54 #54EFEE
monochromatic
#B71165 #EA1C84 #EF54A2 #F48CC0 #F9C4DF

Accessibility & contrast

On white

3.25
#EF54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EF54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF54A2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF54A2#FFFFFF#000000##000000
##EF54A21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA4
Deuteranopia (green-blind)
#97999E
Tritanopia (blue-blind)
#FF4A74
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ef54a2;
/* rgb */ color: rgb(239, 84, 162);
/* oklch */ color: oklch(67.5% 0.203 352.8);
Tailwind
colors: {
  custom: {
    50: '#f98dbd',
    500: '#ef54a2',
    950: '#000000',
  },
}
SCSS
$custom: #ef54a2;
$custom-light: #f98dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef54a2",
  "rgb": {
    "r": 239,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 329.806,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6755,
    "c": 0.20348,
    "h": 352.8
  },
  "luminance": 0.273
}

Semantic roles & 50–950 ramp

primary
#EF54A2
secondary
#B4EBCF
accent
#DF7206
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EF54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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