#EC4F89#EC4F89

#EC4F89 is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.8% C 0.198 H 1.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EC4F89
RGBrgb(236, 79, 137)
HSLhsl(338, 81%, 62%)
HSVhsv(338, 67%, 93%)
CMYKcmyk(0%, 66.5%, 41.9%, 7.5%)
CIE-LABlab(57.30, 64.59, 1.79)
CIE-LCHlch(57.30, 64.61, 1.59°)
OKLaboklab(65.77% 0.1976 0.0054)
OKLCHoklch(65.77% 0.198 1.6)
XYZxyz(41.9064, 25.2361, 26.3263)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F89 #4FECB2
analogous
#EC4FD8 #EC4F89 #EC644F
triadic
#EC4F89 #89EC4F #4F89EC
tetradic
#EC4F89 #D8EC4F #4FECB2 #644FEC
square
#EC4F89 #D8EC4F #4FECB2 #644FEC
split-complementary
#EC4F89 #4FEC64 #4FD8EC
monochromatic
#AE134C #E51964 #EC4F89 #F286AE #F8BDD3

Accessibility & contrast

On white

3.47
#EC4F89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EC4F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F89
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F89#FFFFFF#000000##000000
##EC4F891.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F768A
Deuteranopia (green-blind)
#999585
Tritanopia (blue-blind)
#FF3B66
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4f89;
/* rgb */ color: rgb(236, 79, 137);
/* oklch */ color: oklch(65.8% 0.198 1.6);
Tailwind
colors: {
  custom: {
    50: '#f78aab',
    500: '#ec4f89',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f89;
$custom-light: #f78aab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f89",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 337.834,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.19768,
    "h": 1.6
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#EC4F89
secondary
#AEE8D3
accent
#DD8E09
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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