#EC4F9E#EC4F9E

#EC4F9E is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.4% C 0.206 H 353.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#EC4F9E
RGBrgb(236, 79, 158)
HSLhsl(330, 81%, 62%)
HSVhsv(330, 67%, 93%)
CMYKcmyk(0%, 66.5%, 33.1%, 7.5%)
CIE-LABlab(57.94, 66.79, -9.58)
CIE-LCHlch(57.94, 67.48, 351.84°)
OKLaboklab(66.45% 0.2041 -0.0245)
OKLCHoklch(66.45% 0.206 353.1)
XYZxyz(43.5620, 25.8983, 35.0459)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F9E #4FEC9D
analogous
#EC4FEC #EC4F9E #EC4F50
triadic
#EC4F9E #9EEC4F #4F9EEC
tetradic
#EC4F9E #ECEC4F #4FEC9D #4F50EC
square
#EC4F9E #ECEC4F #4FEC9D #4F50EC
split-complementary
#EC4F9E #50EC4F #4FECEC
monochromatic
#AE1361 #E51980 #EC4F9E #F286BC #F8BDDB

Accessibility & contrast

On white

3.40
#EC4F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#EC4F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F9E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F9E#FFFFFF#000000##000000
##EC4F9E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6979A0
Deuteranopia (green-blind)
#94969A
Tritanopia (blue-blind)
#FD4470
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec4f9e;
/* rgb */ color: rgb(236, 79, 158);
/* oklch */ color: oklch(66.4% 0.206 353.1);
Tailwind
colors: {
  custom: {
    50: '#f78aba',
    500: '#ec4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f9e;
$custom-light: #f78aba;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f9e",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 329.809,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.20554,
    "h": 353.1
  },
  "luminance": 0.25893
}

Semantic roles & 50–950 ramp

primary
#EC4F9E
secondary
#AEE8CB
accent
#DD7209
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180D11
muted
#867D80

Preview Lab

Preview with #EC4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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