#EF87CB#EF87CB

#EF87CB is a light, vivid pink. Relative luminance 0.400; OKLCH L 75.6% C 0.150 H 341.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#EF87CB
RGBrgb(239, 135, 203)
HSLhsl(321, 76%, 73%)
HSVhsv(321, 44%, 94%)
CMYKcmyk(0%, 43.5%, 15.1%, 6.3%)
CIE-LABlab(69.47, 48.37, -17.80)
CIE-LCHlch(69.47, 51.54, 339.80°)
OKLaboklab(75.61% 0.1424 -0.0474)
OKLCHoklch(75.61% 0.15 341.6)
XYZxyz(55.0406, 39.9941, 61.3089)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87CB #87EFAB
analogous
#DF87EF #EF87CB #EF8797
triadic
#EF87CB #CBEF87 #87CBEF
tetradic
#EF87CB #EFDF87 #87EFAB #8797EF
square
#EF87CB #EFDF87 #87EFAB #8797EF
split-complementary
#EF87CB #97EF87 #87EFDF
monochromatic
#DE1E9B #E851B4 #EF87CB #F6BDE2 #FBE4F3

Accessibility & contrast

On white

2.33
#EF87CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#EF87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87CB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87CB#FFFFFF#000000##000000
##EF87CB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCD
Deuteranopia (green-blind)
#A8B0C8
Tritanopia (blue-blind)
#FA88A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef87cb;
/* rgb */ color: rgb(239, 135, 203);
/* oklch */ color: oklch(75.6% 0.150 341.6);
Tailwind
colors: {
  custom: {
    50: '#f6acdb',
    500: '#ef87cb',
    950: '#000000',
  },
}
SCSS
$custom: #ef87cb;
$custom-light: #f6acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87cb",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 320.769,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75609,
    "c": 0.15011,
    "h": 341.6
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#EF87CB
secondary
#D8F3E1
accent
#D9530D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171015
muted
#857F83

Preview Lab

Preview with #EF87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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