#EC4578#EC4578

#EC4578 is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.3% C 0.205 H 6.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#EC4578
RGBrgb(236, 69, 120)
HSLhsl(342, 81%, 60%)
HSVhsv(342, 71%, 93%)
CMYKcmyk(0%, 70.8%, 49.2%, 7.5%)
CIE-LABlab(55.53, 66.72, 9.30)
CIE-LCHlch(55.53, 67.36, 7.94°)
OKLaboklab(64.31% 0.2034 0.0242)
OKLCHoklch(64.31% 0.205 6.8)
XYZxyz(40.1138, 23.4505, 20.1797)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4578 #45ECB9
analogous
#EC45CB #EC4578 #EC6645
triadic
#EC4578 #78EC45 #4578EC
tetradic
#EC4578 #CBEC45 #45ECB9 #6645EC
square
#EC4578 #CBEC45 #45ECB9 #6645EC
split-complementary
#EC4578 #45EC66 #45CBEC
monochromatic
#A6113E #DD1753 #EC4578 #F27DA0 #F7B4C9

Accessibility & contrast

On white

3.69
#EC4578 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#EC4578 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4578
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4578#FFFFFF#000000##000000
##EC45781.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7079
Deuteranopia (green-blind)
#999174
Tritanopia (blue-blind)
#FF245A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ec4578;
/* rgb */ color: rgb(236, 69, 120);
/* oklch */ color: oklch(64.3% 0.205 6.8);
Tailwind
colors: {
  custom: {
    50: '#f8859e',
    500: '#ec4578',
    950: '#000000',
  },
}
SCSS
$custom: #ec4578;
$custom-light: #f8859e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4578",
  "rgb": {
    "r": 236,
    "g": 69,
    "b": 120
  },
  "hsl": {
    "h": 341.677,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.20485,
    "h": 6.8
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#EC4578
secondary
#A6E7D3
accent
#F8BB30
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4578

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

Preview Lab → · Contrast checker → · Palette generator →

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