#EC578F#EC578F

#EC578F is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.8% C 0.190 H 0.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#EC578F
RGBrgb(236, 87, 143)
HSLhsl(337, 80%, 63%)
HSVhsv(337, 63%, 93%)
CMYKcmyk(0%, 63.1%, 39.4%, 7.5%)
CIE-LABlab(58.64, 62.01, 0.21)
CIE-LCHlch(58.64, 62.01, 0.20°)
OKLaboklab(66.81% 0.1895 0.0013)
OKLCHoklch(66.81% 0.19 0.4)
XYZxyz(42.9610, 26.6374, 28.8604)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC578F #57ECB4
analogous
#EC57D9 #EC578F #EC6957
triadic
#EC578F #8FEC57 #578FEC
tetradic
#EC578F #D9EC57 #57ECB4 #6957EC
square
#EC578F #D9EC57 #57ECB4 #6957EC
split-complementary
#EC578F #57EC69 #57D9EC
monochromatic
#B41450 #E6206A #EC578F #F28EB4 #F8C5D8

Accessibility & contrast

On white

3.32
#EC578F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#EC578F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC578F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC578F#FFFFFF#000000##000000
##EC578F1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#737B91
Deuteranopia (green-blind)
#9B988C
Tritanopia (blue-blind)
#FF476D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec578f;
/* rgb */ color: rgb(236, 87, 143);
/* oklch */ color: oklch(66.8% 0.190 0.4);
Tailwind
colors: {
  custom: {
    50: '#f78eaf',
    500: '#ec578f',
    950: '#000000',
  },
}
SCSS
$custom: #ec578f;
$custom-light: #f78eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec578f",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 337.45,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.18954,
    "h": 0.4
  },
  "luminance": 0.26632
}

Semantic roles & 50–950 ramp

primary
#EC578F
secondary
#B5EAD6
accent
#DC8D0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC578F

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

Preview Lab → · Contrast checker → · Palette generator →

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