#EC5478#EC5478

#EC5478 is a light, vivid red. Relative luminance 0.255; OKLCH L 65.8% C 0.188 H 9.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#EC5478
RGBrgb(236, 84, 120)
HSLhsl(346, 80%, 63%)
HSVhsv(346, 64%, 93%)
CMYKcmyk(0%, 64.4%, 49.2%, 7.5%)
CIE-LABlab(57.59, 61.06, 12.20)
CIE-LCHlch(57.59, 62.27, 11.30°)
OKLaboklab(65.84% 0.1853 0.0314)
OKLCHoklch(65.84% 0.188 9.6)
XYZxyz(41.1559, 25.5348, 20.5271)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5478 #54ECC8
analogous
#EC54C4 #EC5478 #EC7C54
triadic
#EC5478 #78EC54 #5478EC
tetradic
#EC5478 #C4EC54 #54ECC8 #7C54EC
square
#EC5478 #C4EC54 #54ECC8 #7C54EC
split-complementary
#EC5478 #54EC7C #54C4EC
monochromatic
#B21439 #E61D4D #EC5478 #F28BA3 #F8C2CF

Accessibility & contrast

On white

3.44
#EC5478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#EC5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5478
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5478#FFFFFF#000000##000000
##EC54781.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767779
Deuteranopia (green-blind)
#9E9674
Tritanopia (blue-blind)
#FF3C62
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5478;
/* rgb */ color: rgb(236, 84, 120);
/* oklch */ color: oklch(65.8% 0.188 9.6);
Tailwind
colors: {
  custom: {
    50: '#f88c9e',
    500: '#ec5478',
    950: '#000000',
  },
}
SCSS
$custom: #ec5478;
$custom-light: #f88c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5478",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 345.789,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6584,
    "c": 0.18799,
    "h": 9.6
  },
  "luminance": 0.2553
}

Semantic roles & 50–950 ramp

primary
#EC5478
secondary
#B2E9DC
accent
#DCAA09
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5478

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

Preview Lab → · Contrast checker → · Palette generator →

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