#EC7CD6#EC7CD6

#EC7CD6 is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.1% C 0.174 H 335.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD6
RGBrgb(236, 124, 214)
HSLhsl(312, 75%, 71%)
HSVhsv(312, 47%, 93%)
CMYKcmyk(0%, 47.5%, 9.3%, 7.5%)
CIE-LABlab(67.36, 54.66, -27.17)
CIE-LCHlch(67.36, 61.04, 333.57°)
OKLaboklab(74.08% 0.1579 -0.0734)
OKLCHoklch(74.08% 0.174 335.1)
XYZxyz(53.9374, 37.1067, 67.9267)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD6 #7CEC92
analogous
#CA7CEC #EC7CD6 #EC7C9E
triadic
#EC7CD6 #D6EC7C #7CD6EC
tetradic
#EC7CD6 #ECCA7C #7CEC92 #7C9EEC
square
#EC7CD6 #ECCA7C #7CEC92 #7C9EEC
split-complementary
#EC7CD6 #9EEC7C #7CECCA
monochromatic
#D01EAD #E447C5 #EC7CD6 #F4B1E7 #FBE4F7

Accessibility & contrast

On white

2.49
#EC7CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EC7CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD6#FFFFFF#000000##000000
##EC7CD61.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9AD9
Deuteranopia (green-blind)
#9BAAD3
Tritanopia (blue-blind)
#F6819F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd6;
/* rgb */ color: rgb(236, 124, 214);
/* oklch */ color: oklch(74.1% 0.174 335.1);
Tailwind
colors: {
  custom: {
    50: '#f4a5e2',
    500: '#ec7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd6;
$custom-light: #f4a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd6",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 311.786,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74082,
    "c": 0.17414,
    "h": 335.1
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

primary
#EC7CD6
secondary
#D3F1D9
accent
#D7360F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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