#EF87C8#EF87C8

#EF87C8 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.5% C 0.148 H 343.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#EF87C8
RGBrgb(239, 135, 200)
HSLhsl(323, 76%, 73%)
HSVhsv(323, 44%, 94%)
CMYKcmyk(0%, 43.5%, 16.3%, 6.3%)
CIE-LABlab(69.36, 47.91, -16.28)
CIE-LCHlch(69.36, 50.60, 341.23°)
OKLaboklab(75.5% 0.1416 -0.0432)
OKLCHoklch(75.5% 0.148 343)
XYZxyz(54.6866, 39.8525, 59.4443)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87C8 #87EFAE
analogous
#E287EF #EF87C8 #EF8794
triadic
#EF87C8 #C8EF87 #87C8EF
tetradic
#EF87C8 #EFE287 #87EFAE #8794EF
square
#EF87C8 #EFE287 #87EFAE #8794EF
split-complementary
#EF87C8 #94EF87 #87EFE2
monochromatic
#DE1E96 #E851AF #EF87C8 #F6BDE1 #FBE4F3

Accessibility & contrast

On white

2.34
#EF87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#EF87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87C8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87C8#FFFFFF#000000##000000
##EF87C81.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCA
Deuteranopia (green-blind)
#A8B0C5
Tritanopia (blue-blind)
#FB879F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef87c8;
/* rgb */ color: rgb(239, 135, 200);
/* oklch */ color: oklch(75.5% 0.148 343.0);
Tailwind
colors: {
  custom: {
    50: '#f6acd8',
    500: '#ef87c8',
    950: '#000000',
  },
}
SCSS
$custom: #ef87c8;
$custom-light: #f6acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87c8",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 322.5,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.755,
    "c": 0.14803,
    "h": 343
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#EF87C8
secondary
#D8F3E2
accent
#D9590D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EF87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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