#EF5F87#EF5F87

#EF5F87 is a light, vivid pink. Relative luminance 0.283; OKLCH L 68.0% C 0.180 H 6.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#EF5F87
RGBrgb(239, 95, 135)
HSLhsl(343, 82%, 65%)
HSVhsv(343, 60%, 94%)
CMYKcmyk(0%, 60.3%, 43.5%, 6.3%)
CIE-LABlab(60.15, 58.75, 7.12)
CIE-LCHlch(60.15, 59.18, 6.91°)
OKLaboklab(67.96% 0.1789 0.0189)
OKLCHoklch(67.96% 0.18 6)
XYZxyz(44.0651, 28.2895, 26.0569)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5F87 #5FEFC7
analogous
#EF5FCF #EF5F87 #EF7F5F
triadic
#EF5F87 #87EF5F #5F87EF
tetradic
#EF5F87 #CFEF5F #5FEFC7 #7F5FEF
square
#EF5F87 #CFEF5F #5FEFC7 #7F5FEF
split-complementary
#EF5F87 #5FEF7F #5FCFEF
monochromatic
#C01343 #E9275D #EF5F87 #F597B1 #FACEDA

Accessibility & contrast

On white

3.15
#EF5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#EF5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5F87
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5F87#FFFFFF#000000##000000
##EF5F871.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F88
Deuteranopia (green-blind)
#A29C84
Tritanopia (blue-blind)
#FF4D6E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ef5f87;
/* rgb */ color: rgb(239, 95, 135);
/* oklch */ color: oklch(68.0% 0.180 6.0);
Tailwind
colors: {
  custom: {
    50: '#f993a9',
    500: '#ef5f87',
    950: '#000000',
  },
}
SCSS
$custom: #ef5f87;
$custom-light: #f993a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5f87",
  "rgb": {
    "r": 239,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 343.333,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.17993,
    "h": 6
  },
  "luminance": 0.28284
}

Semantic roles & 50–950 ramp

primary
#EF5F87
secondary
#BDEDE0
accent
#DEA307
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EF5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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