#EC4A8D#EC4A8D

#EC4A8D is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.4% C 0.205 H 359.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#EC4A8D
RGBrgb(236, 74, 141)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 69%, 93%)
CMYKcmyk(0%, 68.6%, 40.3%, 7.5%)
CIE-LABlab(56.74, 66.85, -1.39)
CIE-LCHlch(56.74, 66.86, 358.81°)
OKLaboklab(65.39% 0.2049 -0.0028)
OKLCHoklch(65.39% 0.205 359.2)
XYZxyz(41.8515, 24.6586, 27.7498)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4A8D #4AECA9
analogous
#EC4ADE #EC4A8D #EC584A
triadic
#EC4A8D #8DEC4A #4A8DEC
tetradic
#EC4A8D #DEEC4A #4AECA9 #584AEC
square
#EC4A8D #DEEC4A #4AECA9 #584AEC
split-complementary
#EC4A8D #4AEC58 #4ADEEC
monochromatic
#AA1251 #E1186B #EC4A8D #F281B0 #F8B9D3

Accessibility & contrast

On white

3.54
#EC4A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#EC4A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4A8D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4A8D#FFFFFF#000000##000000
##EC4A8D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A758F
Deuteranopia (green-blind)
#969389
Tritanopia (blue-blind)
#FF3666
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4a8d;
/* rgb */ color: rgb(236, 74, 141);
/* oklch */ color: oklch(65.4% 0.205 359.2);
Tailwind
colors: {
  custom: {
    50: '#f787ae',
    500: '#ec4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4a8d;
$custom-light: #f787ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4a8d",
  "rgb": {
    "r": 236,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 335.185,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65388,
    "c": 0.20487,
    "h": 359.2
  },
  "luminance": 0.24654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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