#EC7ACC#EC7ACC

#EC7ACC is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.4% C 0.170 H 338.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#EC7ACC
RGBrgb(236, 122, 204)
HSLhsl(317, 75%, 70%)
HSVhsv(317, 48%, 93%)
CMYKcmyk(0%, 48.3%, 13.6%, 7.5%)
CIE-LABlab(66.61, 54.05, -22.74)
CIE-LCHlch(66.61, 58.64, 337.18°)
OKLaboklab(73.4% 0.1584 -0.061)
OKLCHoklch(73.4% 0.17 338.9)
XYZxyz(52.4512, 36.1152, 61.3234)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ACC #7AEC9A
analogous
#D37AEC #EC7ACC #EC7A93
triadic
#EC7ACC #CCEC7A #7ACCEC
tetradic
#EC7ACC #ECD37A #7AEC9A #7A93EC
square
#EC7ACC #ECD37A #7AEC9A #7A93EC
split-complementary
#EC7ACC #93EC7A #7AECD3
monochromatic
#CE1D9D #E444B7 #EC7ACC #F4B0E1 #FBE4F5

Accessibility & contrast

On white

2.55
#EC7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#EC7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ACC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ACC#FFFFFF#000000##000000
##EC7ACC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CF
Deuteranopia (green-blind)
#9DA9C9
Tritanopia (blue-blind)
#F77D9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7acc;
/* rgb */ color: rgb(236, 122, 204);
/* oklch */ color: oklch(73.4% 0.170 338.9);
Tailwind
colors: {
  custom: {
    50: '#f4a4db',
    500: '#ec7acc',
    950: '#000000',
  },
}
SCSS
$custom: #ec7acc;
$custom-light: #f4a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7acc",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 316.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.734,
    "c": 0.16977,
    "h": 338.9
  },
  "luminance": 0.36112
}

Semantic roles & 50–950 ramp

primary
#EC7ACC
secondary
#D1F1DA
accent
#D7470E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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