#EF5187#EF5187

#EF5187 is a light, vivid pink. Relative luminance 0.260; OKLCH L 66.4% C 0.197 H 3.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#EF5187
RGBrgb(239, 81, 135)
HSLhsl(339, 83%, 63%)
HSVhsv(339, 66%, 94%)
CMYKcmyk(0%, 66.1%, 43.5%, 6.3%)
CIE-LABlab(58.03, 64.50, 4.08)
CIE-LCHlch(58.03, 64.63, 3.62°)
OKLaboklab(66.38% 0.1971 0.0112)
OKLCHoklch(66.38% 0.197 3.3)
XYZxyz(42.9154, 25.9901, 25.6736)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5187 #51EFB9
analogous
#EF51D6 #EF5187 #EF6A51
triadic
#EF5187 #87EF51 #5187EF
tetradic
#EF5187 #D6EF51 #51EFB9 #6A51EF
square
#EF5187 #D6EF51 #51EFB9 #6A51EF
split-complementary
#EF5187 #51EF6A #51D6EF
monochromatic
#B51149 #EA1960 #EF5187 #F489AE #F9C1D4

Accessibility & contrast

On white

3.39
#EF5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EF5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5187
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5187#FFFFFF#000000##000000
##EF51871.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#9C9783
Tritanopia (blue-blind)
#FF3C67
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ef5187;
/* rgb */ color: rgb(239, 81, 135);
/* oklch */ color: oklch(66.4% 0.197 3.3);
Tailwind
colors: {
  custom: {
    50: '#fa8ba9',
    500: '#ef5187',
    950: '#000000',
  },
}
SCSS
$custom: #ef5187;
$custom-light: #fa8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5187",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 339.494,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.19746,
    "h": 3.3
  },
  "luminance": 0.25985
}

Semantic roles & 50–950 ramp

primary
#EF5187
secondary
#B1EAD7
accent
#E09506
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EF5187

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

Preview Lab → · Contrast checker → · Palette generator →

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