#EC4F7D#EC4F7D

#EC4F7D is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.4% C 0.195 H 6.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#EC4F7D
RGBrgb(236, 79, 125)
HSLhsl(342, 81%, 62%)
HSVhsv(342, 67%, 93%)
CMYKcmyk(0%, 66.5%, 47%, 7.5%)
CIE-LABlab(56.99, 63.47, 8.41)
CIE-LCHlch(56.99, 64.03, 7.55°)
OKLaboklab(65.43% 0.1935 0.0221)
OKLCHoklch(65.43% 0.195 6.5)
XYZxyz(41.0930, 24.9107, 22.0424)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F7D #4FECBE
analogous
#EC4FCC #EC4F7D #EC704F
triadic
#EC4F7D #7DEC4F #4F7DEC
tetradic
#EC4F7D #CCEC4F #4FECBE #704FEC
square
#EC4F7D #CCEC4F #4FECBE #704FEC
split-complementary
#EC4F7D #4FEC70 #4FCCEC
monochromatic
#AE1340 #E51955 #EC4F7D #F286A6 #F8BDCF

Accessibility & contrast

On white

3.51
#EC4F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#EC4F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F7D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F7D#FFFFFF#000000##000000
##EC4F7D1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72757E
Deuteranopia (green-blind)
#9B9479
Tritanopia (blue-blind)
#FF3661
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4f7d;
/* rgb */ color: rgb(236, 79, 125);
/* oklch */ color: oklch(65.4% 0.195 6.5);
Tailwind
colors: {
  custom: {
    50: '#f88aa2',
    500: '#ec4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f7d;
$custom-light: #f88aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f7d",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 342.42,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65429,
    "c": 0.19471,
    "h": 6.5
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#EC4F7D
secondary
#AEE8D7
accent
#DD9F09
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0F
muted
#867D7E

Preview Lab

Preview with #EC4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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