#EF98D2#EF98D2

#EF98D2 is a light, vivid pink. Relative luminance 0.455; OKLCH L 78.5% C 0.126 H 340.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#EF98D2
RGBrgb(239, 152, 210)
HSLhsl(320, 73%, 77%)
HSVhsv(320, 36%, 94%)
CMYKcmyk(0%, 36.4%, 12.1%, 6.3%)
CIE-LABlab(73.20, 40.75, -16.03)
CIE-LCHlch(73.20, 43.79, 338.52°)
OKLaboklab(78.5% 0.1189 -0.0426)
OKLCHoklch(78.5% 0.126 340.3)
XYZxyz(58.4578, 45.4635, 66.6565)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98D2 #98EFB5
analogous
#E198EF #EF98D2 #EF98A7
triadic
#EF98D2 #D2EF98 #98D2EF
tetradic
#EF98D2 #EFE198 #98EFB5 #98A7EF
square
#EF98D2 #EFE198 #98EFB5 #98A7EF
split-complementary
#EF98D2 #A7EF98 #98EFE1
monochromatic
#DF2EA4 #E763BB #EF98D2 #F7CDE9 #FBE5F3

Accessibility & contrast

On white

2.08
#EF98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#EF98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98D2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98D2#FFFFFF#000000##000000
##EF98D21.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BABD4
Deuteranopia (green-blind)
#B1B9D0
Tritanopia (blue-blind)
#F999AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef98d2;
/* rgb */ color: rgb(239, 152, 210);
/* oklch */ color: oklch(78.5% 0.126 340.3);
Tailwind
colors: {
  custom: {
    50: '#f5b7df',
    500: '#ef98d2',
    950: '#000000',
  },
}
SCSS
$custom: #ef98d2;
$custom-light: #f5b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98d2",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 320,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78503,
    "c": 0.12633,
    "h": 340.3
  },
  "luminance": 0.4546
}

Semantic roles & 50–950 ramp

primary
#EF98D2
secondary
#D8F3E1
accent
#D55210
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EF98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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