#EF78D9#EF78D9

#EF78D9 is a light, vivid pink. Relative luminance 0.368; OKLCH L 74.0% C 0.185 H 334.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#EF78D9
RGBrgb(239, 120, 217)
HSLhsl(311, 79%, 70%)
HSVhsv(311, 50%, 94%)
CMYKcmyk(0%, 49.8%, 9.2%, 6.3%)
CIE-LABlab(67.12, 57.95, -29.17)
CIE-LCHlch(67.12, 64.88, 333.28°)
OKLaboklab(74.03% 0.1674 -0.079)
OKLCHoklch(74.03% 0.185 334.7)
XYZxyz(54.8375, 36.7971, 69.8464)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF78D9 #78EF8E
analogous
#C978EF #EF78D9 #EF789E
triadic
#EF78D9 #D9EF78 #78D9EF
tetradic
#EF78D9 #EFC978 #78EF8E #789EEF
square
#EF78D9 #EFC978 #78EF8E #789EEF
split-complementary
#EF78D9 #9EEF78 #78EFC9
monochromatic
#D419B1 #E941CA #EF78D9 #F5AFE8 #FCE4F7

Accessibility & contrast

On white

2.51
#EF78D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#EF78D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF78D9
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF78D9#FFFFFF#000000##000000
##EF78D91.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DC
Deuteranopia (green-blind)
#99AAD6
Tritanopia (blue-blind)
#F97E9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ef78d9;
/* rgb */ color: rgb(239, 120, 217);
/* oklch */ color: oklch(74.0% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#f7a3e5',
    500: '#ef78d9',
    950: '#000000',
  },
}
SCSS
$custom: #ef78d9;
$custom-light: #f7a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef78d9",
  "rgb": {
    "r": 239,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 311.092,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.18509,
    "h": 334.7
  },
  "luminance": 0.36793
}

Semantic roles & 50–950 ramp

primary
#EF78D9
secondary
#D1F2D7
accent
#DB310A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F15
muted
#857F84

Preview Lab

Preview with #EF78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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