#EC4C87#EC4C87

#EC4C87 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.4% C 0.201 H 1.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#EC4C87
RGBrgb(236, 76, 135)
HSLhsl(338, 81%, 61%)
HSVhsv(338, 68%, 93%)
CMYKcmyk(0%, 67.8%, 42.8%, 7.5%)
CIE-LABlab(56.84, 65.53, 2.29)
CIE-LCHlch(56.84, 65.57, 2.00°)
OKLaboklab(65.4% 0.2006 0.0067)
OKLCHoklch(65.4% 0.201 1.9)
XYZxyz(41.5527, 24.7562, 25.5072)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4C87 #4CECB1
analogous
#EC4CD7 #EC4C87 #EC614C
triadic
#EC4C87 #87EC4C #4C87EC
tetradic
#EC4C87 #D7EC4C #4CECB1 #614CEC
square
#EC4C87 #D7EC4C #4CECB1 #614CEC
split-complementary
#EC4C87 #4CEC61 #4CD7EC
monochromatic
#AB124B #E31863 #EC4C87 #F283AC #F8BBD1

Accessibility & contrast

On white

3.53
#EC4C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#EC4C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4C87
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4C87#FFFFFF#000000##000000
##EC4C871.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7588
Deuteranopia (green-blind)
#989483
Tritanopia (blue-blind)
#FF3664
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4c87;
/* rgb */ color: rgb(236, 76, 135);
/* oklch */ color: oklch(65.4% 0.201 1.9);
Tailwind
colors: {
  custom: {
    50: '#f888a9',
    500: '#ec4c87',
    950: '#000000',
  },
}
SCSS
$custom: #ec4c87;
$custom-light: #f888a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4c87",
  "rgb": {
    "r": 236,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 337.875,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.20066,
    "h": 1.9
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#EC4C87
secondary
#ACE8D2
accent
#DD8F08
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #EC4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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