#EC4E8F#EC4E8F

#EC4E8F is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 65.8% C 0.201 H 359.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EC4E8F
RGBrgb(236, 78, 143)
HSLhsl(335, 81%, 62%)
HSVhsv(335, 67%, 93%)
CMYKcmyk(0%, 66.9%, 39.4%, 7.5%)
CIE-LABlab(57.34, 65.56, -1.69)
CIE-LCHlch(57.34, 65.59, 358.52°)
OKLaboklab(65.85% 0.2008 -0.0036)
OKLCHoklch(65.85% 0.201 359)
XYZxyz(42.2772, 25.2699, 28.6325)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4E8F #4EECAB
analogous
#EC4EDE #EC4E8F #EC5C4E
triadic
#EC4E8F #8FEC4E #4E8FEC
tetradic
#EC4E8F #DEEC4E #4EECAB #5C4EEC
square
#EC4E8F #DEEC4E #4EECAB #5C4EEC
split-complementary
#EC4E8F #4EEC5C #4EDEEC
monochromatic
#AD1352 #E4196C #EC4E8F #F285B2 #F8BDD5

Accessibility & contrast

On white

3.47
#EC4E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EC4E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4E8F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4E8F#FFFFFF#000000##000000
##EC4E8F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7791
Deuteranopia (green-blind)
#97958B
Tritanopia (blue-blind)
#FF3C69
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4e8f;
/* rgb */ color: rgb(236, 78, 143);
/* oklch */ color: oklch(65.8% 0.201 359.0);
Tailwind
colors: {
  custom: {
    50: '#f789af',
    500: '#ec4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec4e8f;
$custom-light: #f789af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4e8f",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 335.316,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.20081,
    "h": 359
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#EC4E8F
secondary
#AEE8D0
accent
#DD8609
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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