#EC5782#EC5782

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

Color values

HEX#EC5782
RGBrgb(236, 87, 130)
HSLhsl(343, 80%, 63%)
HSVhsv(343, 63%, 93%)
CMYKcmyk(0%, 63.1%, 44.9%, 7.5%)
CIE-LABlab(58.29, 60.73, 7.32)
CIE-LCHlch(58.29, 61.17, 6.87°)
OKLaboklab(66.44% 0.1851 0.0194)
OKLCHoklch(66.44% 0.186 6)
XYZxyz(42.0326, 26.2661, 23.9712)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5782 #57ECC1
analogous
#EC57CC #EC5782 #EC7657
triadic
#EC5782 #82EC57 #5782EC
tetradic
#EC5782 #CCEC57 #57ECC1 #7657EC
square
#EC5782 #CCEC57 #57ECC1 #7657EC
split-complementary
#EC5782 #57EC76 #57CCEC
monochromatic
#B41443 #E62059 #EC5782 #F28EAB #F8C5D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5782#FFFFFF#000000##000000
##EC57821.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)
#767A83
Deuteranopia (green-blind)
#9D977F
Tritanopia (blue-blind)
#FF4368
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5782;
/* rgb */ color: rgb(236, 87, 130);
/* oklch */ color: oklch(66.4% 0.186 6.0);
Tailwind
colors: {
  custom: {
    50: '#f78ea6',
    500: '#ec5782',
    950: '#000000',
  },
}
SCSS
$custom: #ec5782;
$custom-light: #f78ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5782",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 342.685,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.18608,
    "h": 6
  },
  "luminance": 0.26261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5782

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

Preview Lab → · Contrast checker → · Palette generator →

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