#EF87DC#EF87DC

#EF87DC is a light, vivid pink. Relative luminance 0.408; OKLCH L 76.3% C 0.163 H 334.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#EF87DC
RGBrgb(239, 135, 220)
HSLhsl(311, 76%, 73%)
HSVhsv(311, 44%, 94%)
CMYKcmyk(0%, 43.5%, 7.9%, 6.3%)
CIE-LABlab(70.07, 51.09, -26.30)
CIE-LCHlch(70.07, 57.47, 332.76°)
OKLaboklab(76.26% 0.1468 -0.071)
OKLCHoklch(76.26% 0.163 334.2)
XYZxyz(57.1787, 40.8493, 72.5693)
Luminance0.4085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87DC #87EF9A
analogous
#CE87EF #EF87DC #EF87A8
triadic
#EF87DC #DCEF87 #87DCEF
tetradic
#EF87DC #EFCE87 #87EF9A #87A8EF
square
#EF87DC #EFCE87 #87EF9A #87A8EF
split-complementary
#EF87DC #A8EF87 #87EFCE
monochromatic
#DE1EBB #E851CC #EF87DC #F6BDEC #FBE4F7

Accessibility & contrast

On white

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

On black

9.17
#EF87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87DC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87DC#FFFFFF#000000##000000
##EF87DC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2DF
Deuteranopia (green-blind)
#A2B1D9
Tritanopia (blue-blind)
#F88CA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ef87dc;
/* rgb */ color: rgb(239, 135, 220);
/* oklch */ color: oklch(76.3% 0.163 334.2);
Tailwind
colors: {
  custom: {
    50: '#f6ace7',
    500: '#ef87dc',
    950: '#000000',
  },
}
SCSS
$custom: #ef87dc;
$custom-light: #f6ace7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87dc",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 310.962,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76262,
    "c": 0.16308,
    "h": 334.2
  },
  "luminance": 0.40846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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