#EC5EC5#EC5EC5

#EC5EC5 is a light, highly saturated pink. Relative luminance 0.299; OKLCH L 69.6% C 0.208 H 339.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#EC5EC5
RGBrgb(236, 94, 197)
HSLhsl(316, 79%, 65%)
HSVhsv(316, 60%, 93%)
CMYKcmyk(0%, 60.2%, 16.5%, 7.5%)
CIE-LABlab(61.55, 65.78, -26.56)
CIE-LCHlch(61.55, 70.94, 338.02°)
OKLaboklab(69.56% 0.1948 -0.0714)
OKLCHoklch(69.56% 0.208 339.9)
XYZxyz(48.6738, 29.8737, 56.0152)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EC5 #5EEC85
analogous
#CC5EEC #EC5EC5 #EC5E7E
triadic
#EC5EC5 #C5EC5E #5EC5EC
tetradic
#EC5EC5 #ECCC5E #5EEC85 #5E7EEC
square
#EC5EC5 #ECCC5E #5EEC85 #5E7EEC
split-complementary
#EC5EC5 #7EEC5E #5EECCC
monochromatic
#BA168D #E627B1 #EC5EC5 #F295D9 #F9CBEC

Accessibility & contrast

On white

3.01
#EC5EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#EC5EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EC5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EC5#FFFFFF#000000##000000
##EC5EC51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6586C8
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#F96189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5ec5;
/* rgb */ color: rgb(236, 94, 197);
/* oklch */ color: oklch(69.6% 0.208 339.9);
Tailwind
colors: {
  custom: {
    50: '#f593d6',
    500: '#ec5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ec5;
$custom-light: #f593d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ec5",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 316.479,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.20751,
    "h": 339.9
  },
  "luminance": 0.29869
}

Semantic roles & 50–950 ramp

primary
#EC5EC5
secondary
#BBEBC8
accent
#DB440A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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