#EC5A78#EC5A78

#EC5A78 is a light, vivid red. Relative luminance 0.265; OKLCH L 66.5% C 0.181 H 11.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#EC5A78
RGBrgb(236, 90, 120)
HSLhsl(348, 79%, 64%)
HSVhsv(348, 62%, 93%)
CMYKcmyk(0%, 61.9%, 49.2%, 7.5%)
CIE-LABlab(58.51, 58.57, 13.49)
CIE-LCHlch(58.51, 60.10, 12.97°)
OKLaboklab(66.53% 0.1774 0.0346)
OKLCHoklch(66.53% 0.181 11)
XYZxyz(41.6417, 26.5064, 20.6891)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A78 #5AECCE
analogous
#EC5AC1 #EC5A78 #EC855A
triadic
#EC5A78 #78EC5A #5A78EC
tetradic
#EC5A78 #C1EC5A #5AECCE #855AEC
square
#EC5A78 #C1EC5A #5AECCE #855AEC
split-complementary
#EC5A78 #5AEC85 #5AC1EC
monochromatic
#B71536 #E6234B #EC5A78 #F291A5 #F9C8D2

Accessibility & contrast

On white

3.33
#EC5A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#EC5A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A78
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A78#FFFFFF#000000##000000
##EC5A781.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A78
Deuteranopia (green-blind)
#A09875
Tritanopia (blue-blind)
#FF4466
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5a78;
/* rgb */ color: rgb(236, 90, 120);
/* oklch */ color: oklch(66.5% 0.181 11.0);
Tailwind
colors: {
  custom: {
    50: '#f88f9e',
    500: '#ec5a78',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a78;
$custom-light: #f88f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a78",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 120
  },
  "hsl": {
    "h": 347.671,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.18077,
    "h": 11
  },
  "luminance": 0.26501
}

Semantic roles & 50–950 ramp

primary
#EC5A78
secondary
#B7EBE0
accent
#DCB10A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5A78

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

Preview Lab → · Contrast checker → · Palette generator →

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