#EF97DF#EF97DF

#EF97DF is a light, vivid pink. Relative luminance 0.458; OKLCH L 78.8% C 0.138 H 333.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#EF97DF
RGBrgb(239, 151, 223)
HSLhsl(311, 73%, 76%)
HSVhsv(311, 37%, 94%)
CMYKcmyk(0%, 36.8%, 6.7%, 6.3%)
CIE-LABlab(73.43, 43.42, -22.83)
CIE-LCHlch(73.43, 49.06, 332.27°)
OKLaboklab(78.82% 0.1241 -0.0614)
OKLCHoklch(78.82% 0.138 333.7)
XYZxyz(59.9820, 45.8146, 75.4814)
Luminance0.4581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97DF #97EFA7
analogous
#D397EF #EF97DF #EF97B3
triadic
#EF97DF #DFEF97 #97DFEF
tetradic
#EF97DF #EFD397 #97EFA7 #97B3EF
square
#EF97DF #EFD397 #97EFA7 #97B3EF
split-complementary
#EF97DF #B3EF97 #97EFD3
monochromatic
#DF2DBE #E762CF #EF97DF #F7CCEF #FBE4F7

Accessibility & contrast

On white

2.07
#EF97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#EF97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97DF
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97DF#FFFFFF#000000##000000
##EF97DF1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ADE2
Deuteranopia (green-blind)
#ACB9DC
Tritanopia (blue-blind)
#F79BB1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ef97df;
/* rgb */ color: rgb(239, 151, 223);
/* oklch */ color: oklch(78.8% 0.138 333.7);
Tailwind
colors: {
  custom: {
    50: '#f5b7e9',
    500: '#ef97df',
    950: '#000000',
  },
}
SCSS
$custom: #ef97df;
$custom-light: #f5b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97df",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 310.909,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78822,
    "c": 0.13846,
    "h": 333.7
  },
  "luminance": 0.45812
}

Semantic roles & 50–950 ramp

primary
#EF97DF
secondary
#D8F3DD
accent
#D53410
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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