#EF81DC#EF81DC

#EF81DC is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.4% C 0.173 H 333.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EF81DC
RGBrgb(239, 129, 220)
HSLhsl(310, 77%, 72%)
HSVhsv(310, 46%, 94%)
CMYKcmyk(0%, 46%, 7.9%, 6.3%)
CIE-LABlab(68.91, 54.08, -28.08)
CIE-LCHlch(68.91, 60.93, 332.56°)
OKLaboklab(75.4% 0.1554 -0.076)
OKLCHoklch(75.4% 0.173 333.9)
XYZxyz(56.3650, 39.2220, 72.2980)
Luminance0.3922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF81DC #81EF94
analogous
#CB81EF #EF81DC #EF81A5
triadic
#EF81DC #DCEF81 #81DCEF
tetradic
#EF81DC #EFCB81 #81EF94 #81A5EF
square
#EF81DC #EFCB81 #81EF94 #81A5EF
split-complementary
#EF81DC #A5EF81 #81EFCB
monochromatic
#DA1CB9 #E84BCD #EF81DC #F6B7EB #FCE4F7

Accessibility & contrast

On white

2.37
#EF81DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EF81DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF81DC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF81DC#FFFFFF#000000##000000
##EF81DC1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDF
Deuteranopia (green-blind)
#9EAED9
Tritanopia (blue-blind)
#F887A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef81dc;
/* rgb */ color: rgb(239, 129, 220);
/* oklch */ color: oklch(75.4% 0.173 333.9);
Tailwind
colors: {
  custom: {
    50: '#f6a9e7',
    500: '#ef81dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef81dc;
$custom-light: #f6a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef81dc",
  "rgb": {
    "r": 239,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 310.364,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75396,
    "c": 0.17299,
    "h": 333.9
  },
  "luminance": 0.39219
}

Semantic roles & 50–950 ramp

primary
#EF81DC
secondary
#D8F3DC
accent
#DA2F0C
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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