#EF5AC5#EF5AC5

#EF5AC5 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.5% C 0.215 H 340.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#EF5AC5
RGBrgb(239, 90, 197)
HSLhsl(317, 82%, 65%)
HSVhsv(317, 62%, 94%)
CMYKcmyk(0%, 62.3%, 17.6%, 6.3%)
CIE-LABlab(61.39, 68.23, -26.75)
CIE-LCHlch(61.39, 73.29, 338.59°)
OKLaboklab(69.54% 0.2028 -0.0719)
OKLCHoklch(69.54% 0.215 340.5)
XYZxyz(49.3319, 29.6987, 55.9468)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5AC5 #5AEF84
analogous
#CF5AEF #EF5AC5 #EF5A7B
triadic
#EF5AC5 #C5EF5A #5AC5EF
tetradic
#EF5AC5 #EFCF5A #5AEF84 #5A7BEF
square
#EF5AC5 #EFCF5A #5AEF84 #5A7BEF
split-complementary
#EF5AC5 #7BEF5A #5AEFCF
monochromatic
#BC128C #EA22B1 #EF5AC5 #F492D9 #FACAEC

Accessibility & contrast

On white

3.03
#EF5AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#EF5AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5AC5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5AC5#FFFFFF#000000##000000
##EF5AC51.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6385C8
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#FC5D88
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ef5ac5;
/* rgb */ color: rgb(239, 90, 197);
/* oklch */ color: oklch(69.5% 0.215 340.5);
Tailwind
colors: {
  custom: {
    50: '#f891d6',
    500: '#ef5ac5',
    950: '#000000',
  },
}
SCSS
$custom: #ef5ac5;
$custom-light: #f891d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5ac5",
  "rgb": {
    "r": 239,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 316.913,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.21513,
    "h": 340.5
  },
  "luminance": 0.29694
}

Semantic roles & 50–950 ramp

primary
#EF5AC5
secondary
#B9ECC7
accent
#DF4407
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EF5AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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