#EB87AF#EB87AF

#EB87AF is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.2% C 0.130 H 355.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#EB87AF
RGBrgb(235, 135, 175)
HSLhsl(336, 71%, 73%)
HSVhsv(336, 43%, 92%)
CMYKcmyk(0%, 42.6%, 25.5%, 7.8%)
CIE-LABlab(68.09, 42.97, -4.26)
CIE-LCHlch(68.09, 43.18, 354.34°)
OKLaboklab(74.17% 0.1295 -0.0107)
OKLCHoklch(74.17% 0.13 355.3)
XYZxyz(50.6642, 38.0891, 45.2326)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87AF #87EBC3
analogous
#EB87E1 #EB87AF #EB9187
triadic
#EB87AF #AFEB87 #87AFEB
tetradic
#EB87AF #E1EB87 #87EBC3 #9187EB
square
#EB87AF #E1EB87 #87EBC3 #9187EB
split-complementary
#EB87AF #87EB91 #87E1EB
monochromatic
#D4236A #E2538C #EB87AF #F4BBD2 #FBE5EE

Accessibility & contrast

On white

2.44
#EB87AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#EB87AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87AF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87AF#FFFFFF#000000##000000
##EB87AF1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#939BB0
Deuteranopia (green-blind)
#ADADAD
Tritanopia (blue-blind)
#F98295
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb87af;
/* rgb */ color: rgb(235, 135, 175);
/* oklch */ color: oklch(74.2% 0.130 355.3);
Tailwind
colors: {
  custom: {
    50: '#f3acc6',
    500: '#eb87af',
    950: '#000000',
  },
}
SCSS
$custom: #eb87af;
$custom-light: #f3acc6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87af",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 336,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.12995,
    "h": 355.3
  },
  "luminance": 0.38085
}

Semantic roles & 50–950 ramp

primary
#EB87AF
secondary
#D9F2E8
accent
#D38612
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EB87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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