#EC4D8F#EC4D8F

#EC4D8F is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.7% C 0.202 H 358.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#EC4D8F
RGBrgb(236, 77, 143)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 67%, 93%)
CMYKcmyk(0%, 67.4%, 39.4%, 7.5%)
CIE-LABlab(57.20, 65.94, -1.89)
CIE-LCHlch(57.20, 65.97, 358.36°)
OKLaboklab(65.75% 0.202 -0.0041)
OKLCHoklch(65.75% 0.202 358.8)
XYZxyz(42.2067, 25.1289, 28.6090)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4D8F #4DECAA
analogous
#EC4DDF #EC4D8F #EC5B4D
triadic
#EC4D8F #8FEC4D #4D8FEC
tetradic
#EC4D8F #DFEC4D #4DECAA #5B4DEC
square
#EC4D8F #DFEC4D #4DECAA #5B4DEC
split-complementary
#EC4D8F #4DEC5B #4DDFEC
monochromatic
#AC1252 #E4186D #EC4D8F #F284B2 #F8BCD5

Accessibility & contrast

On white

3.49
#EC4D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#EC4D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4D8F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4D8F#FFFFFF#000000##000000
##EC4D8F1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7691
Deuteranopia (green-blind)
#97948B
Tritanopia (blue-blind)
#FF3B68
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4d8f;
/* rgb */ color: rgb(236, 77, 143);
/* oklch */ color: oklch(65.7% 0.202 358.8);
Tailwind
colors: {
  custom: {
    50: '#f789af',
    500: '#ec4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ec4d8f;
$custom-light: #f789af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4d8f",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 335.094,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.20201,
    "h": 358.8
  },
  "luminance": 0.25124
}

Semantic roles & 50–950 ramp

primary
#EC4D8F
secondary
#ADE8CF
accent
#DD8508
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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