#EF51BF#EF51BF

#EF51BF is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.4% C 0.223 H 342.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#EF51BF
RGBrgb(239, 81, 191)
HSLhsl(318, 83%, 63%)
HSVhsv(318, 66%, 94%)
CMYKcmyk(0%, 66.1%, 20.1%, 6.3%)
CIE-LABlab(59.89, 70.90, -25.65)
CIE-LCHlch(59.89, 75.40, 340.12°)
OKLaboklab(68.36% 0.2122 -0.0687)
OKLCHoklch(68.36% 0.223 342.1)
XYZxyz(47.9444, 28.0018, 52.1600)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51BF #51EF81
analogous
#D051EF #EF51BF #EF5170
triadic
#EF51BF #BFEF51 #51BFEF
tetradic
#EF51BF #EFD051 #51EF81 #5170EF
square
#EF51BF #EFD051 #51EF81 #5170EF
split-complementary
#EF51BF #70EF51 #51EFD0
monochromatic
#B51183 #EA19AA #EF51BF #F489D4 #F9C1E8

Accessibility & contrast

On white

3.18
#EF51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#EF51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51BF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51BF#FFFFFF#000000##000000
##EF51BF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#8E9ABB
Tritanopia (blue-blind)
#FD5381
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ef51bf;
/* rgb */ color: rgb(239, 81, 191);
/* oklch */ color: oklch(68.4% 0.223 342.1);
Tailwind
colors: {
  custom: {
    50: '#f88cd2',
    500: '#ef51bf',
    950: '#000000',
  },
}
SCSS
$custom: #ef51bf;
$custom-light: #f88cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51bf",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 318.228,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.22305,
    "h": 342.1
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#EF51BF
secondary
#B1EAC3
accent
#E04806
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EF51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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