#EC488C#EC488C

#EC488C is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.2% C 0.207 H 359.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#EC488C
RGBrgb(236, 72, 140)
HSLhsl(335, 81%, 60%)
HSVhsv(335, 69%, 93%)
CMYKcmyk(0%, 69.5%, 40.7%, 7.5%)
CIE-LABlab(56.45, 67.47, -1.22)
CIE-LCHlch(56.45, 67.48, 358.96°)
OKLaboklab(65.17% 0.2068 -0.0024)
OKLCHoklch(65.17% 0.207 359.3)
XYZxyz(41.6460, 24.3662, 27.3159)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC488C #48ECA8
analogous
#EC48DE #EC488C #EC5648
triadic
#EC488C #8CEC48 #488CEC
tetradic
#EC488C #DEEC48 #48ECA8 #5648EC
square
#EC488C #DEEC48 #48ECA8 #5648EC
split-complementary
#EC488C #48EC56 #48DEEC
monochromatic
#A81150 #E0176A #EC488C #F27FAF #F8B7D2

Accessibility & contrast

On white

3.58
#EC488C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#EC488C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC488C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC488C#FFFFFF#000000##000000
##EC488C1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69738E
Deuteranopia (green-blind)
#969388
Tritanopia (blue-blind)
#FF3364
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec488c;
/* rgb */ color: rgb(236, 72, 140);
/* oklch */ color: oklch(65.2% 0.207 359.3);
Tailwind
colors: {
  custom: {
    50: '#f886ad',
    500: '#ec488c',
    950: '#000000',
  },
}
SCSS
$custom: #ec488c;
$custom-light: #f886ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec488c",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 335.122,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.20683,
    "h": 359.3
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#EC488C
secondary
#A9E7CD
accent
#DE8508
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC488C

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

Preview Lab → · Contrast checker → · Palette generator →

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