#EC5EC2#EC5EC2

#EC5EC2 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.4% C 0.206 H 340.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#EC5EC2
RGBrgb(236, 94, 194)
HSLhsl(318, 79%, 65%)
HSVhsv(318, 60%, 93%)
CMYKcmyk(0%, 60.2%, 17.8%, 7.5%)
CIE-LABlab(61.43, 65.35, -25.03)
CIE-LCHlch(61.43, 69.98, 339.04°)
OKLaboklab(69.44% 0.1942 -0.0672)
OKLCHoklch(69.44% 0.206 340.9)
XYZxyz(48.3335, 29.7375, 54.2228)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EC2 #5EEC88
analogous
#CF5EEC #EC5EC2 #EC5E7B
triadic
#EC5EC2 #C2EC5E #5EC2EC
tetradic
#EC5EC2 #ECCF5E #5EEC88 #5E7BEC
square
#EC5EC2 #ECCF5E #5EEC88 #5E7BEC
split-complementary
#EC5EC2 #7BEC5E #5EECCF
monochromatic
#BA1689 #E627AD #EC5EC2 #F295D7 #F9CBEB

Accessibility & contrast

On white

3.02
#EC5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#EC5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EC2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EC2#FFFFFF#000000##000000
##EC5EC21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6786C5
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#F96088
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5ec2;
/* rgb */ color: rgb(236, 94, 194);
/* oklch */ color: oklch(69.4% 0.206 340.9);
Tailwind
colors: {
  custom: {
    50: '#f593d4',
    500: '#ec5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ec2;
$custom-light: #f593d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ec2",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 317.746,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.20552,
    "h": 340.9
  },
  "luminance": 0.29733
}

Semantic roles & 50–950 ramp

primary
#EC5EC2
secondary
#BBEBC9
accent
#DB480A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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