#EC4F8D#EC4F8D

#EC4F8D is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.9% C 0.199 H 359.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#EC4F8D
RGBrgb(236, 79, 141)
HSLhsl(336, 81%, 62%)
HSVhsv(336, 67%, 93%)
CMYKcmyk(0%, 66.5%, 40.3%, 7.5%)
CIE-LABlab(57.42, 64.98, -0.40)
CIE-LCHlch(57.42, 64.98, 359.65°)
OKLaboklab(65.89% 0.1989 -0.0003)
OKLCHoklch(65.89% 0.199 359.9)
XYZxyz(42.1987, 25.3530, 27.8655)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F8D #4FECAE
analogous
#EC4FDB #EC4F8D #EC604F
triadic
#EC4F8D #8DEC4F #4F8DEC
tetradic
#EC4F8D #DBEC4F #4FECAE #604FEC
square
#EC4F8D #DBEC4F #4FECAE #604FEC
split-complementary
#EC4F8D #4FEC60 #4FDBEC
monochromatic
#AE1350 #E51969 #EC4F8D #F286B1 #F8BDD5

Accessibility & contrast

On white

3.46
#EC4F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#EC4F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F8D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F8D#FFFFFF#000000##000000
##EC4F8D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E778F
Deuteranopia (green-blind)
#989589
Tritanopia (blue-blind)
#FF3D68
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4f8d;
/* rgb */ color: rgb(236, 79, 141);
/* oklch */ color: oklch(65.9% 0.199 359.9);
Tailwind
colors: {
  custom: {
    50: '#f78aae',
    500: '#ec4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f8d;
$custom-light: #f78aae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f8d",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 336.306,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65888,
    "c": 0.19893,
    "h": 359.9
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

primary
#EC4F8D
secondary
#AEE8D2
accent
#DD8909
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #EC4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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