#EC7CCE#EC7CCE

#EC7CCE is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.8% C 0.168 H 338.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#EC7CCE
RGBrgb(236, 124, 206)
HSLhsl(316, 75%, 71%)
HSVhsv(316, 47%, 93%)
CMYKcmyk(0%, 47.5%, 12.7%, 7.5%)
CIE-LABlab(67.06, 53.38, -23.17)
CIE-LCHlch(67.06, 58.20, 336.54°)
OKLaboklab(73.76% 0.1561 -0.0622)
OKLCHoklch(73.76% 0.168 338.3)
XYZxyz(52.9407, 36.7080, 62.6775)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CCE #7CEC9A
analogous
#D27CEC #EC7CCE #EC7C96
triadic
#EC7CCE #CEEC7C #7CCEEC
tetradic
#EC7CCE #ECD27C #7CEC9A #7C96EC
square
#EC7CCE #ECD27C #7CEC9A #7C96EC
split-complementary
#EC7CCE #96EC7C #7CECD2
monochromatic
#D01EA0 #E447BA #EC7CCE #F4B1E2 #FBE4F5

Accessibility & contrast

On white

2.52
#EC7CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#EC7CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CCE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CCE#FFFFFF#000000##000000
##EC7CCE1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D1
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#F77F9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7cce;
/* rgb */ color: rgb(236, 124, 206);
/* oklch */ color: oklch(73.8% 0.168 338.3);
Tailwind
colors: {
  custom: {
    50: '#f4a5dd',
    500: '#ec7cce',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cce;
$custom-light: #f4a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cce",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 316.071,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.16799,
    "h": 338.3
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#EC7CCE
secondary
#D3F1DB
accent
#D7440F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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