#EC4F9D#EC4F9D

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

Color values

HEX#EC4F9D
RGBrgb(236, 79, 157)
HSLhsl(330, 81%, 62%)
HSVhsv(330, 67%, 93%)
CMYKcmyk(0%, 66.5%, 33.5%, 7.5%)
CIE-LABlab(57.91, 66.68, -9.05)
CIE-LCHlch(57.91, 67.29, 352.27°)
OKLaboklab(66.41% 0.2038 -0.0231)
OKLCHoklch(66.41% 0.205 353.5)
XYZxyz(43.4763, 25.8641, 34.5945)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F9D #4FEC9E
analogous
#EC4FEC #EC4F9D #EC504F
triadic
#EC4F9D #9DEC4F #4F9DEC
tetradic
#EC4F9D #ECEC4F #4FEC9E #504FEC
square
#EC4F9D #ECEC4F #4FEC9E #504FEC
split-complementary
#EC4F9D #4FEC50 #4FECEC
monochromatic
#AE1360 #E5197E #EC4F9D #F286BC #F8BDDB

Accessibility & contrast

On white

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

On black

6.17
#EC4F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F9D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F9D#FFFFFF#000000##000000
##EC4F9D1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#959699
Tritanopia (blue-blind)
#FE436F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec4f9d;
/* rgb */ color: rgb(236, 79, 157);
/* oklch */ color: oklch(66.4% 0.205 353.5);
Tailwind
colors: {
  custom: {
    50: '#f78ab9',
    500: '#ec4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f9d;
$custom-light: #f78ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f9d",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 330.191,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.20509,
    "h": 353.5
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#EC4F9D
secondary
#AEE8CC
accent
#DD7309
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180D11
muted
#867D80

Preview Lab

Preview with #EC4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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