#EF87DB#EF87DB

#EF87DB is a light, vivid pink. Relative luminance 0.408; OKLCH L 76.2% C 0.162 H 334.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#EF87DB
RGBrgb(239, 135, 219)
HSLhsl(312, 76%, 73%)
HSVhsv(312, 44%, 94%)
CMYKcmyk(0%, 43.5%, 8.4%, 6.3%)
CIE-LABlab(70.03, 50.93, -25.81)
CIE-LCHlch(70.03, 57.09, 333.13°)
OKLaboklab(76.22% 0.1466 -0.0697)
OKLCHoklch(76.22% 0.162 334.6)
XYZxyz(57.0466, 40.7965, 71.8739)
Luminance0.4079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87DB #87EF9B
analogous
#CF87EF #EF87DB #EF87A7
triadic
#EF87DB #DBEF87 #87DBEF
tetradic
#EF87DB #EFCF87 #87EF9B #87A7EF
square
#EF87DB #EFCF87 #87EF9B #87A7EF
split-complementary
#EF87DB #A7EF87 #87EFCF
monochromatic
#DE1EB9 #E851CB #EF87DB #F6BDEB #FBE4F7

Accessibility & contrast

On white

2.29
#EF87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#EF87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87DB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87DB#FFFFFF#000000##000000
##EF87DB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#A3B1D8
Tritanopia (blue-blind)
#F88CA7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ef87db;
/* rgb */ color: rgb(239, 135, 219);
/* oklch */ color: oklch(76.2% 0.162 334.6);
Tailwind
colors: {
  custom: {
    50: '#f6ace6',
    500: '#ef87db',
    950: '#000000',
  },
}
SCSS
$custom: #ef87db;
$custom-light: #f6ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87db",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 311.538,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76222,
    "c": 0.16227,
    "h": 334.6
  },
  "luminance": 0.40793
}

Semantic roles & 50–950 ramp

primary
#EF87DB
secondary
#D8F3DD
accent
#D9340D
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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