#EC5781#EC5781

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

Color values

HEX#EC5781
RGBrgb(236, 87, 129)
HSLhsl(343, 80%, 63%)
HSVhsv(343, 63%, 93%)
CMYKcmyk(0%, 63.1%, 45.3%, 7.5%)
CIE-LABlab(58.26, 60.63, 7.87)
CIE-LCHlch(58.26, 61.14, 7.39°)
OKLaboklab(66.41% 0.1847 0.0208)
OKLCHoklch(66.41% 0.186 6.4)
XYZxyz(41.9658, 26.2393, 23.6194)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5781 #57ECC2
analogous
#EC57CC #EC5781 #EC7757
triadic
#EC5781 #81EC57 #5781EC
tetradic
#EC5781 #CCEC57 #57ECC2 #7757EC
square
#EC5781 #CCEC57 #57ECC2 #7757EC
split-complementary
#EC5781 #57EC77 #57CCEC
monochromatic
#B41441 #E62058 #EC5781 #F28EAA #F8C5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5781#FFFFFF#000000##000000
##EC57811.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)
#777982
Deuteranopia (green-blind)
#9E977E
Tritanopia (blue-blind)
#FF4367
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5781;
/* rgb */ color: rgb(236, 87, 129);
/* oklch */ color: oklch(66.4% 0.186 6.4);
Tailwind
colors: {
  custom: {
    50: '#f78ea5',
    500: '#ec5781',
    950: '#000000',
  },
}
SCSS
$custom: #ec5781;
$custom-light: #f78ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5781",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 343.087,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.18588,
    "h": 6.4
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#EC5781
secondary
#B5EADB
accent
#DCA10A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5781

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

Preview Lab → · Contrast checker → · Palette generator →

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