#EC5481#EC5481

#EC5481 is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.1% C 0.190 H 5.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#EC5481
RGBrgb(236, 84, 129)
HSLhsl(342, 80%, 63%)
HSVhsv(342, 64%, 93%)
CMYKcmyk(0%, 64.4%, 45.3%, 7.5%)
CIE-LABlab(57.81, 61.86, 7.23)
CIE-LCHlch(57.81, 62.28, 6.66°)
OKLaboklab(66.07% 0.1886 0.0191)
OKLCHoklch(66.07% 0.19 5.8)
XYZxyz(41.7280, 25.7636, 23.5401)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5481 #54ECBF
analogous
#EC54CD #EC5481 #EC7354
triadic
#EC5481 #81EC54 #5481EC
tetradic
#EC5481 #CDEC54 #54ECBF #7354EC
square
#EC5481 #CDEC54 #54ECBF #7354EC
split-complementary
#EC5481 #54EC73 #54CDEC
monochromatic
#B21443 #E61D58 #EC5481 #F28BAA #F8C2D2

Accessibility & contrast

On white

3.41
#EC5481 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#EC5481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5481
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5481#FFFFFF#000000##000000
##EC54811.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#747882
Deuteranopia (green-blind)
#9C967D
Tritanopia (blue-blind)
#FF3F66
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5481;
/* rgb */ color: rgb(236, 84, 129);
/* oklch */ color: oklch(66.1% 0.190 5.8);
Tailwind
colors: {
  custom: {
    50: '#f88ca5',
    500: '#ec5481',
    950: '#000000',
  },
}
SCSS
$custom: #ec5481;
$custom-light: #f88ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5481",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 342.237,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.18958,
    "h": 5.8
  },
  "luminance": 0.25758
}

Semantic roles & 50–950 ramp

primary
#EC5481
secondary
#B2E9D9
accent
#DC9E09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5481

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

Preview Lab → · Contrast checker → · Palette generator →

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