#EF51CA#EF51CA

#EF51CA is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.8% C 0.230 H 338.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#EF51CA
RGBrgb(239, 81, 202)
HSLhsl(314, 83%, 63%)
HSVhsv(314, 66%, 94%)
CMYKcmyk(0%, 66.1%, 15.5%, 6.3%)
CIE-LABlab(60.34, 72.41, -31.22)
CIE-LCHlch(60.34, 78.85, 336.67°)
OKLaboklab(68.84% 0.214 -0.0845)
OKLCHoklch(68.84% 0.23 338.5)
XYZxyz(49.2007, 28.5043, 58.7763)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51CA #51EF76
analogous
#C551EF #EF51CA #EF517B
triadic
#EF51CA #CAEF51 #51CAEF
tetradic
#EF51CA #EFC551 #51EF76 #517BEF
square
#EF51CA #EFC551 #51EF76 #517BEF
split-complementary
#EF51CA #7BEF51 #51EFC5
monochromatic
#B5118E #EA19B9 #EF51CA #F489DB #F9C1EC

Accessibility & contrast

On white

3.13
#EF51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#EF51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51CA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51CA#FFFFFF#000000##000000
##EF51CA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#8A9AC6
Tritanopia (blue-blind)
#FC5787
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ef51ca;
/* rgb */ color: rgb(239, 81, 202);
/* oklch */ color: oklch(68.8% 0.230 338.5);
Tailwind
colors: {
  custom: {
    50: '#f88dda',
    500: '#ef51ca',
    950: '#000000',
  },
}
SCSS
$custom: #ef51ca;
$custom-light: #f88dda;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51ca",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 314.051,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.2301,
    "h": 338.5
  },
  "luminance": 0.285
}

Semantic roles & 50–950 ramp

primary
#EF51CA
secondary
#B1EABF
accent
#E03906
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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