#EF98DF#EF98DF

#EF98DF is a light, vivid pink. Relative luminance 0.461; OKLCH L 79.0% C 0.137 H 333.7°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#EF98DF
RGBrgb(239, 152, 223)
HSLhsl(311, 73%, 77%)
HSVhsv(311, 36%, 94%)
CMYKcmyk(0%, 36.4%, 6.7%, 6.3%)
CIE-LABlab(73.63, 42.90, -22.51)
CIE-LCHlch(73.63, 48.45, 332.32°)
OKLaboklab(78.98% 0.1226 -0.0606)
OKLCHoklch(78.98% 0.137 333.7)
XYZxyz(60.1436, 46.1379, 75.5352)
Luminance0.4613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF98DF #98EFA8
analogous
#D398EF #EF98DF #EF98B4
triadic
#EF98DF #DFEF98 #98DFEF
tetradic
#EF98DF #EFD398 #98EFA8 #98B4EF
square
#EF98DF #EFD398 #98EFA8 #98B4EF
split-complementary
#EF98DF #B4EF98 #98EFD3
monochromatic
#DF2EBE #E763CF #EF98DF #F7CDEF #FBE5F7

Accessibility & contrast

On white

2.05
#EF98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#EF98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF98DF
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF98DF#FFFFFF#000000##000000
##EF98DF1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ADE2
Deuteranopia (green-blind)
#ADB9DC
Tritanopia (blue-blind)
#F79CB2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ef98df;
/* rgb */ color: rgb(239, 152, 223);
/* oklch */ color: oklch(79.0% 0.137 333.7);
Tailwind
colors: {
  custom: {
    50: '#f5b8e9',
    500: '#ef98df',
    950: '#000000',
  },
}
SCSS
$custom: #ef98df;
$custom-light: #f5b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef98df",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 311.034,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7898,
    "c": 0.13675,
    "h": 333.7
  },
  "luminance": 0.46135
}

Semantic roles & 50–950 ramp

primary
#EF98DF
secondary
#D8F3DD
accent
#D53510
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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