#EC64A2#EC64A2

#EC64A2 is a light, vivid pink. Relative luminance 0.296; OKLCH L 69.0% C 0.179 H 354.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#EC64A2
RGBrgb(236, 100, 162)
HSLhsl(333, 78%, 66%)
HSVhsv(333, 58%, 93%)
CMYKcmyk(0%, 57.6%, 31.4%, 7.5%)
CIE-LABlab(61.27, 58.56, -6.93)
CIE-LCHlch(61.27, 58.97, 353.25°)
OKLaboklab(68.96% 0.1781 -0.0176)
OKLCHoklch(68.96% 0.179 354.4)
XYZxyz(45.6730, 29.5604, 37.4758)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC64A2 #64ECAE
analogous
#EC64E6 #EC64A2 #EC6A64
triadic
#EC64A2 #A2EC64 #64A2EC
tetradic
#EC64A2 #E6EC64 #64ECAE #6A64EC
square
#EC64A2 #E6EC64 #64ECAE #6A64EC
split-complementary
#EC64A2 #64EC6A #64E6EC
monochromatic
#BE1763 #E52D81 #EC64A2 #F39BC3 #F9D1E3

Accessibility & contrast

On white

3.04
#EC64A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#EC64A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC64A2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC64A2#FFFFFF#000000##000000
##EC64A21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#9D9D9F
Tritanopia (blue-blind)
#FD5C7C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec64a2;
/* rgb */ color: rgb(236, 100, 162);
/* oklch */ color: oklch(69.0% 0.179 354.4);
Tailwind
colors: {
  custom: {
    50: '#f696bd',
    500: '#ec64a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec64a2;
$custom-light: #f696bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec64a2",
  "rgb": {
    "r": 236,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 332.647,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68956,
    "c": 0.17899,
    "h": 354.4
  },
  "luminance": 0.29556
}

Semantic roles & 50–950 ramp

primary
#EC64A2
secondary
#BFECD8
accent
#DA7C0B
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #EC64A2

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

Preview Lab → · Contrast checker → · Palette generator →

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