#EF5787#EF5787

#EF5787 is a light, vivid pink. Relative luminance 0.269; OKLCH L 67.0% C 0.190 H 4.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EF5787
RGBrgb(239, 87, 135)
HSLhsl(341, 83%, 64%)
HSVhsv(341, 64%, 94%)
CMYKcmyk(0%, 63.6%, 43.5%, 6.3%)
CIE-LABlab(58.90, 62.12, 5.33)
CIE-LCHlch(58.90, 62.34, 4.91°)
OKLaboklab(67.03% 0.1896 0.0144)
OKLCHoklch(67.03% 0.19 4.3)
XYZxyz(43.3811, 26.9216, 25.8289)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5787 #57EFBF
analogous
#EF57D3 #EF5787 #EF7357
triadic
#EF5787 #87EF57 #5787EF
tetradic
#EF5787 #D3EF57 #57EFBF #7357EF
square
#EF5787 #D3EF57 #57EFBF #7357EF
split-complementary
#EF5787 #57EF73 #57D3EF
monochromatic
#BA1247 #EA1F5F #EF5787 #F48FAF #FAC7D7

Accessibility & contrast

On white

3.29
#EF5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EF5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5787
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5787#FFFFFF#000000##000000
##EF57871.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B88
Deuteranopia (green-blind)
#9E9983
Tritanopia (blue-blind)
#FF436A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ef5787;
/* rgb */ color: rgb(239, 87, 135);
/* oklch */ color: oklch(67.0% 0.190 4.3);
Tailwind
colors: {
  custom: {
    50: '#f98ea9',
    500: '#ef5787',
    950: '#000000',
  },
}
SCSS
$custom: #ef5787;
$custom-light: #f98ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5787",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 341.053,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.19012,
    "h": 4.3
  },
  "luminance": 0.26916
}

Semantic roles & 50–950 ramp

primary
#EF5787
secondary
#B6ECDB
accent
#DF9B06
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EF5787

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

Preview Lab → · Contrast checker → · Palette generator →

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