#EB5787#EB5787

#EB5787 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.4% C 0.186 H 3.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#EB5787
RGBrgb(235, 87, 135)
HSLhsl(341, 79%, 63%)
HSVhsv(341, 63%, 92%)
CMYKcmyk(0%, 63%, 42.6%, 7.8%)
CIE-LABlab(58.26, 60.90, 4.32)
CIE-LCHlch(58.26, 61.05, 4.06°)
OKLaboklab(66.43% 0.1859 0.0118)
OKLCHoklch(66.43% 0.186 3.6)
XYZxyz(42.0453, 26.2328, 25.7663)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5787 #57EBBB
analogous
#EB57D1 #EB5787 #EB7157
triadic
#EB5787 #87EB57 #5787EB
tetradic
#EB5787 #D1EB57 #57EBBB #7157EB
square
#EB5787 #D1EB57 #57EBBB #7157EB
split-complementary
#EB5787 #57EB71 #57D1EB
monochromatic
#B21548 #E42060 #EB5787 #F28EAE #F8C4D5

Accessibility & contrast

On white

3.36
#EB5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#EB5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5787
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5787#FFFFFF#000000##000000
##EB57871.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#757A88
Deuteranopia (green-blind)
#9C9784
Tritanopia (blue-blind)
#FE456A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #eb5787;
/* rgb */ color: rgb(235, 87, 135);
/* oklch */ color: oklch(66.4% 0.186 3.6);
Tailwind
colors: {
  custom: {
    50: '#f68ea9',
    500: '#eb5787',
    950: '#000000',
  },
}
SCSS
$custom: #eb5787;
$custom-light: #f68ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5787",
  "rgb": {
    "r": 235,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 340.541,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.18629,
    "h": 3.6
  },
  "luminance": 0.26228
}

Semantic roles & 50–950 ramp

primary
#EB5787
secondary
#B4E9D8
accent
#DB970A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EB5787

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

Preview Lab → · Contrast checker → · Palette generator →

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