#EC66D2#EC66D2

#EC66D2 is a light, highly saturated pink. Relative luminance 0.320; OKLCH L 71.1% C 0.205 H 335.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#EC66D2
RGBrgb(236, 102, 210)
HSLhsl(312, 78%, 66%)
HSVhsv(312, 57%, 93%)
CMYKcmyk(0%, 56.8%, 11%, 7.5%)
CIE-LABlab(63.34, 64.27, -31.14)
CIE-LCHlch(63.34, 71.42, 334.15°)
OKLaboklab(71.05% 0.187 -0.0845)
OKLCHoklch(71.05% 0.205 335.7)
XYZxyz(50.9767, 31.9926, 64.4506)
Luminance0.3199 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC66D2 #66EC80
analogous
#C366EC #EC66D2 #EC668F
triadic
#EC66D2 #D2EC66 #66D2EC
tetradic
#EC66D2 #ECC366 #66EC80 #668FEC
square
#EC66D2 #ECC366 #66EC80 #668FEC
split-complementary
#EC66D2 #8FEC66 #66ECC3
monochromatic
#C0189F #E530C2 #EC66D2 #F39CE2 #FAD3F2

Accessibility & contrast

On white

2.84
#EC66D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#EC66D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC66D2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC66D2#FFFFFF#000000##000000
##EC66D21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD5
Deuteranopia (green-blind)
#8FA1CE
Tritanopia (blue-blind)
#F76D93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec66d2;
/* rgb */ color: rgb(236, 102, 210);
/* oklch */ color: oklch(71.1% 0.205 335.7);
Tailwind
colors: {
  custom: {
    50: '#f598e0',
    500: '#ec66d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec66d2;
$custom-light: #f598e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec66d2",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 311.642,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.20521,
    "h": 335.7
  },
  "luminance": 0.31989
}

Semantic roles & 50–950 ramp

primary
#EC66D2
secondary
#C1EDCA
accent
#DA330B
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #EC66D2

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

Preview Lab → · Contrast checker → · Palette generator →

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