#EC66D6#EC66D6

#EC66D6 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.2% C 0.208 H 334.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC66D6
RGBrgb(236, 102, 214)
HSLhsl(310, 78%, 66%)
HSVhsv(310, 57%, 93%)
CMYKcmyk(0%, 56.8%, 9.3%, 7.5%)
CIE-LABlab(63.50, 64.89, -33.13)
CIE-LCHlch(63.50, 72.86, 332.95°)
OKLaboklab(71.23% 0.1877 -0.0901)
OKLCHoklch(71.23% 0.208 334.4)
XYZxyz(51.4813, 32.1944, 67.1080)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66D6 #66EC7C
analogous
#BF66EC #EC66D6 #EC6693
triadic
#EC66D6 #D6EC66 #66D6EC
tetradic
#EC66D6 #ECBF66 #66EC7C #6693EC
square
#EC66D6 #ECBF66 #66EC7C #6693EC
split-complementary
#EC66D6 #93EC66 #66ECBF
monochromatic
#C018A4 #E530C7 #EC66D6 #F39CE5 #FAD3F3

Accessibility & contrast

On white

2.82
#EC66D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC66D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66D6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66D6#FFFFFF#000000##000000
##EC66D61.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DDA
Deuteranopia (green-blind)
#8EA1D2
Tritanopia (blue-blind)
#F66E95
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec66d6;
/* rgb */ color: rgb(236, 102, 214);
/* oklch */ color: oklch(71.2% 0.208 334.4);
Tailwind
colors: {
  custom: {
    50: '#f598e3',
    500: '#ec66d6',
    950: '#000000',
  },
}
SCSS
$custom: #ec66d6;
$custom-light: #f598e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66d6",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 309.851,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71229,
    "c": 0.2082,
    "h": 334.4
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#EC66D6
secondary
#C1EDC8
accent
#DA2D0B
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #EC66D6

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

Preview Lab → · Contrast checker → · Palette generator →

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