#EF87BA#EF87BA

#EF87BA is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.0% C 0.139 H 350.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EF87BA
RGBrgb(239, 135, 186)
HSLhsl(331, 76%, 73%)
HSVhsv(331, 44%, 94%)
CMYKcmyk(0%, 43.5%, 22.2%, 6.3%)
CIE-LABlab(68.92, 45.85, -9.14)
CIE-LCHlch(68.92, 46.75, 348.73°)
OKLaboklab(75.01% 0.1374 -0.0237)
OKLCHoklch(75.01% 0.139 350.2)
XYZxyz(53.1247, 39.2277, 51.2185)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87BA #87EFBC
analogous
#EF87EE #EF87BA #EF8887
triadic
#EF87BA #BAEF87 #87BAEF
tetradic
#EF87BA #EEEF87 #87EFBC #8887EF
square
#EF87BA #EEEF87 #87EFBC #8887EF
split-complementary
#EF87BA #87EF88 #87EEEF
monochromatic
#DE1E7C #E8519B #EF87BA #F6BDD9 #FBE4EF

Accessibility & contrast

On white

2.37
#EF87BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EF87BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87BA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87BA#FFFFFF#000000##000000
##EF87BA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#929DBC
Deuteranopia (green-blind)
#ACAFB7
Tritanopia (blue-blind)
#FC8499
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef87ba;
/* rgb */ color: rgb(239, 135, 186);
/* oklch */ color: oklch(75.0% 0.139 350.2);
Tailwind
colors: {
  custom: {
    50: '#f6acce',
    500: '#ef87ba',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ba;
$custom-light: #f6acce;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ba",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 330.577,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75014,
    "c": 0.13944,
    "h": 350.2
  },
  "luminance": 0.39224
}

Semantic roles & 50–950 ramp

primary
#EF87BA
secondary
#D8F3E6
accent
#D9750D
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EF87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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