#EF51B3#EF51B3

#EF51B3 is a light, highly saturated pink. Relative luminance 0.275; OKLCH L 67.9% C 0.216 H 346.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#EF51B3
RGBrgb(239, 81, 179)
HSLhsl(323, 83%, 63%)
HSVhsv(323, 66%, 94%)
CMYKcmyk(0%, 66.1%, 25.1%, 6.3%)
CIE-LABlab(59.43, 69.35, -19.46)
CIE-LCHlch(59.43, 72.03, 344.33°)
OKLaboklab(67.87% 0.2098 -0.0515)
OKLCHoklch(67.87% 0.216 346.2)
XYZxyz(46.6776, 27.4950, 45.4879)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51B3 #51EF8D
analogous
#DC51EF #EF51B3 #EF5164
triadic
#EF51B3 #B3EF51 #51B3EF
tetradic
#EF51B3 #EFDC51 #51EF8D #5164EF
square
#EF51B3 #EFDC51 #51EF8D #5164EF
split-complementary
#EF51B3 #64EF51 #51EFDC
monochromatic
#B51177 #EA199B #EF51B3 #F489CB #F9C1E4

Accessibility & contrast

On white

3.23
#EF51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#EF51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF51B3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51B3#FFFFFF#000000##000000
##EF51B31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#9199AF
Tritanopia (blue-blind)
#FF4E7B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ef51b3;
/* rgb */ color: rgb(239, 81, 179);
/* oklch */ color: oklch(67.9% 0.216 346.2);
Tailwind
colors: {
  custom: {
    50: '#f88cc9',
    500: '#ef51b3',
    950: '#000000',
  },
}
SCSS
$custom: #ef51b3;
$custom-light: #f88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51b3",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 322.785,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.21598,
    "h": 346.2
  },
  "luminance": 0.2749
}

Semantic roles & 50–950 ramp

primary
#EF51B3
secondary
#B1EAC7
accent
#E05906
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EF51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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