#EF87AF#EF87AF

#EF87AF is a light, vivid pink. Relative luminance 0.388; OKLCH L 74.7% C 0.134 H 356.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EF87AF
RGBrgb(239, 135, 175)
HSLhsl(337, 76%, 73%)
HSVhsv(337, 44%, 94%)
CMYKcmyk(0%, 43.5%, 26.8%, 6.3%)
CIE-LABlab(68.59, 44.33, -3.46)
CIE-LCHlch(68.59, 44.46, 355.54°)
OKLaboklab(74.66% 0.1338 -0.0085)
OKLCHoklch(74.66% 0.134 356.4)
XYZxyz(52.0000, 38.7779, 45.2953)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87AF #87EFC7
analogous
#EF87E3 #EF87AF #EF9387
triadic
#EF87AF #AFEF87 #87AFEF
tetradic
#EF87AF #E3EF87 #87EFC7 #9387EF
square
#EF87AF #E3EF87 #87EFC7 #9387EF
split-complementary
#EF87AF #87EF93 #87E3EF
monochromatic
#DE1E68 #E8518B #EF87AF #F6BDD3 #FBE4ED

Accessibility & contrast

On white

2.40
#EF87AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#EF87AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87AF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87AF#FFFFFF#000000##000000
##EF87AF1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#959CB0
Deuteranopia (green-blind)
#AFAEAD
Tritanopia (blue-blind)
#FE8195
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef87af;
/* rgb */ color: rgb(239, 135, 175);
/* oklch */ color: oklch(74.7% 0.134 356.4);
Tailwind
colors: {
  custom: {
    50: '#f6acc6',
    500: '#ef87af',
    950: '#000000',
  },
}
SCSS
$custom: #ef87af;
$custom-light: #f6acc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87af",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 336.923,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.13411,
    "h": 356.4
  },
  "luminance": 0.38774
}

Semantic roles & 50–950 ramp

primary
#EF87AF
secondary
#D8F3E9
accent
#D98A0D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EF87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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