#EF51CF#EF51CF

#EF51CF is a light, highly saturated pink. Relative luminance 0.287; OKLCH L 69.1% C 0.233 H 336.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#EF51CF
RGBrgb(239, 81, 207)
HSLhsl(312, 83%, 63%)
HSVhsv(312, 66%, 94%)
CMYKcmyk(0%, 66.1%, 13.4%, 6.3%)
CIE-LABlab(60.56, 73.11, -33.73)
CIE-LCHlch(60.56, 80.52, 335.24°)
OKLaboklab(69.06% 0.2147 -0.0916)
OKLCHoklch(69.06% 0.233 336.9)
XYZxyz(49.8023, 28.7449, 61.9448)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51CF #51EF71
analogous
#C051EF #EF51CF #EF5180
triadic
#EF51CF #CFEF51 #51CFEF
tetradic
#EF51CF #EFC051 #51EF71 #5180EF
square
#EF51CF #EFC051 #51EF71 #5180EF
split-complementary
#EF51CF #80EF51 #51EFC0
monochromatic
#B51194 #EA19C0 #EF51CF #F489DE #F9C1EE

Accessibility & contrast

On white

3.11
#EF51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#EF51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51CF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51CF#FFFFFF#000000##000000
##EF51CF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D3
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#FB5989
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ef51cf;
/* rgb */ color: rgb(239, 81, 207);
/* oklch */ color: oklch(69.1% 0.233 336.9);
Tailwind
colors: {
  custom: {
    50: '#f88dde',
    500: '#ef51cf',
    950: '#000000',
  },
}
SCSS
$custom: #ef51cf;
$custom-light: #f88dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51cf",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 312.152,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.23346,
    "h": 336.9
  },
  "luminance": 0.28741
}

Semantic roles & 50–950 ramp

primary
#EF51CF
secondary
#B1EABD
accent
#E03206
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EF51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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