#EF98DC#EF98DC

#EF98DC is a light, vivid pink. Relative luminance 0.460; OKLCH L 78.9% C 0.134 H 335.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#EF98DC
RGBrgb(239, 152, 220)
HSLhsl(313, 73%, 77%)
HSVhsv(313, 36%, 94%)
CMYKcmyk(0%, 36.4%, 7.9%, 6.3%)
CIE-LABlab(73.53, 42.40, -21.02)
CIE-LCHlch(73.53, 47.32, 333.63°)
OKLaboklab(78.87% 0.1218 -0.0564)
OKLCHoklch(78.87% 0.134 335.1)
XYZxyz(59.7428, 45.9775, 73.4240)
Luminance0.4597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98DC #98EFAB
analogous
#D698EF #EF98DC #EF98B1
triadic
#EF98DC #DCEF98 #98DCEF
tetradic
#EF98DC #EFD698 #98EFAB #98B1EF
square
#EF98DC #EFD698 #98EFAB #98B1EF
split-complementary
#EF98DC #B1EF98 #98EFD6
monochromatic
#DF2EB8 #E763CA #EF98DC #F7CDEE #FBE5F6

Accessibility & contrast

On white

2.06
#EF98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#EF98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98DC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98DC#FFFFFF#000000##000000
##EF98DC1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADDF
Deuteranopia (green-blind)
#AEB9D9
Tritanopia (blue-blind)
#F79CB1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef98dc;
/* rgb */ color: rgb(239, 152, 220);
/* oklch */ color: oklch(78.9% 0.134 335.1);
Tailwind
colors: {
  custom: {
    50: '#f5b8e7',
    500: '#ef98dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef98dc;
$custom-light: #f5b8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98dc",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 313.103,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78868,
    "c": 0.13422,
    "h": 335.1
  },
  "luminance": 0.45975
}

Semantic roles & 50–950 ramp

primary
#EF98DC
secondary
#D8F3DE
accent
#D53B10
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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