#EF5781#EF5781

#EF5781 is a light, vivid pink. Relative luminance 0.268; OKLCH L 66.9% C 0.189 H 6.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#EF5781
RGBrgb(239, 87, 129)
HSLhsl(343, 83%, 64%)
HSVhsv(343, 64%, 94%)
CMYKcmyk(0%, 63.6%, 46%, 6.3%)
CIE-LABlab(58.75, 61.55, 8.63)
CIE-LCHlch(58.75, 62.16, 7.98°)
OKLaboklab(66.86% 0.1875 0.0227)
OKLCHoklch(66.86% 0.189 6.9)
XYZxyz(42.9705, 26.7574, 23.6665)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5781 #57EFC5
analogous
#EF57CD #EF5781 #EF7957
triadic
#EF5781 #81EF57 #5781EF
tetradic
#EF5781 #CDEF57 #57EFC5 #7957EF
square
#EF5781 #CDEF57 #57EFC5 #7957EF
split-complementary
#EF5781 #57EF79 #57CDEF
monochromatic
#BA1240 #EA1F57 #EF5781 #F48FAB #FAC7D5

Accessibility & contrast

On white

3.31
#EF5781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#EF5781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5781
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5781#FFFFFF#000000##000000
##EF57811.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#787A82
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#FF4167
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ef5781;
/* rgb */ color: rgb(239, 87, 129);
/* oklch */ color: oklch(66.9% 0.189 6.9);
Tailwind
colors: {
  custom: {
    50: '#fa8ea5',
    500: '#ef5781',
    950: '#000000',
  },
}
SCSS
$custom: #ef5781;
$custom-light: #fa8ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5781",
  "rgb": {
    "r": 239,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 343.421,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.18881,
    "h": 6.9
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#EF5781
secondary
#B6ECDD
accent
#DFA306
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EF5781

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

Preview Lab → · Contrast checker → · Palette generator →

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