#EC4F98#EC4F98

#EC4F98 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.2% C 0.203 H 355.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#EC4F98
RGBrgb(236, 79, 152)
HSLhsl(332, 81%, 62%)
HSVhsv(332, 67%, 93%)
CMYKcmyk(0%, 66.5%, 35.6%, 7.5%)
CIE-LABlab(57.75, 66.13, -6.36)
CIE-LCHlch(57.75, 66.44, 354.51°)
OKLaboklab(66.24% 0.2024 -0.0159)
OKLCHoklch(66.24% 0.203 355.5)
XYZxyz(43.0581, 25.6968, 32.3921)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F98 #4FECA3
analogous
#EC4FE7 #EC4F98 #EC554F
triadic
#EC4F98 #98EC4F #4F98EC
tetradic
#EC4F98 #E7EC4F #4FECA3 #554FEC
square
#EC4F98 #E7EC4F #4FECA3 #554FEC
split-complementary
#EC4F98 #4FEC55 #4FE7EC
monochromatic
#AE135B #E51978 #EC4F98 #F286B8 #F8BDD9

Accessibility & contrast

On white

3.42
#EC4F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#EC4F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F98
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F98#FFFFFF#000000##000000
##EC4F981.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B789A
Deuteranopia (green-blind)
#969594
Tritanopia (blue-blind)
#FE416D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec4f98;
/* rgb */ color: rgb(236, 79, 152);
/* oklch */ color: oklch(66.2% 0.203 355.5);
Tailwind
colors: {
  custom: {
    50: '#f78ab6',
    500: '#ec4f98',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f98;
$custom-light: #f78ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f98",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 332.102,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.20298,
    "h": 355.5
  },
  "luminance": 0.25692
}

Semantic roles & 50–950 ramp

primary
#EC4F98
secondary
#AEE8CD
accent
#DD7A09
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180D11
muted
#867D80

Preview Lab

Preview with #EC4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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