#EC5EC7#EC5EC7

#EC5EC7 is a light, highly saturated pink. Relative luminance 0.300; OKLCH L 69.6% C 0.209 H 339.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#EC5EC7
RGBrgb(236, 94, 199)
HSLhsl(316, 79%, 65%)
HSVhsv(316, 60%, 93%)
CMYKcmyk(0%, 60.2%, 15.7%, 7.5%)
CIE-LABlab(61.62, 66.07, -27.57)
CIE-LCHlch(61.62, 71.59, 337.35°)
OKLaboklab(69.65% 0.1952 -0.0743)
OKLCHoklch(69.65% 0.209 339.2)
XYZxyz(48.9045, 29.9659, 57.2301)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EC7 #5EEC83
analogous
#CA5EEC #EC5EC7 #EC5E80
triadic
#EC5EC7 #C7EC5E #5EC7EC
tetradic
#EC5EC7 #ECCA5E #5EEC83 #5E80EC
square
#EC5EC7 #ECCA5E #5EEC83 #5E80EC
split-complementary
#EC5EC7 #80EC5E #5EECCA
monochromatic
#BA168F #E627B4 #EC5EC7 #F295DA #F9CBED

Accessibility & contrast

On white

3.00
#EC5EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#EC5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EC7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EC7#FFFFFF#000000##000000
##EC5EC71.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CA
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#F8628A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5ec7;
/* rgb */ color: rgb(236, 94, 199);
/* oklch */ color: oklch(69.6% 0.209 339.2);
Tailwind
colors: {
  custom: {
    50: '#f593d8',
    500: '#ec5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ec7;
$custom-light: #f593d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ec7",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 315.634,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.20887,
    "h": 339.2
  },
  "luminance": 0.29962
}

Semantic roles & 50–950 ramp

primary
#EC5EC7
secondary
#BBEBC7
accent
#DB410A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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