#EC4F79#EC4F79

#EC4F79 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.3% C 0.194 H 8.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#EC4F79
RGBrgb(236, 79, 121)
HSLhsl(344, 81%, 62%)
HSVhsv(344, 67%, 93%)
CMYKcmyk(0%, 66.5%, 48.7%, 7.5%)
CIE-LABlab(56.89, 63.12, 10.63)
CIE-LCHlch(56.89, 64.01, 9.56°)
OKLaboklab(65.33% 0.192 0.0275)
OKLCHoklch(65.33% 0.194 8.2)
XYZxyz(40.8426, 24.8106, 20.7236)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F79 #4FECC2
analogous
#EC4FC8 #EC4F79 #EC744F
triadic
#EC4F79 #79EC4F #4F79EC
tetradic
#EC4F79 #C8EC4F #4FECC2 #744FEC
square
#EC4F79 #C8EC4F #4FECC2 #744FEC
split-complementary
#EC4F79 #4FEC74 #4FC8EC
monochromatic
#AE133C #E5194F #EC4F79 #F286A3 #F8BDCD

Accessibility & contrast

On white

3.52
#EC4F79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#EC4F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F79
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F79#FFFFFF#000000##000000
##EC4F791.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73757A
Deuteranopia (green-blind)
#9C9475
Tritanopia (blue-blind)
#FF3560
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4f79;
/* rgb */ color: rgb(236, 79, 121);
/* oklch */ color: oklch(65.3% 0.194 8.2);
Tailwind
colors: {
  custom: {
    50: '#f8899f',
    500: '#ec4f79',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f79;
$custom-light: #f8899f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f79",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 343.949,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.19398,
    "h": 8.2
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#EC4F79
secondary
#AEE8D9
accent
#DDA409
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4F79

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

Preview Lab → · Contrast checker → · Palette generator →

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