#EC7CD2#EC7CD2

#EC7CD2 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.9% C 0.171 H 336.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD2
RGBrgb(236, 124, 210)
HSLhsl(314, 75%, 71%)
HSVhsv(314, 47%, 93%)
CMYKcmyk(0%, 47.5%, 11%, 7.5%)
CIE-LABlab(67.21, 54.02, -25.18)
CIE-LCHlch(67.21, 59.59, 335.01°)
OKLaboklab(73.92% 0.157 -0.0678)
OKLCHoklch(73.92% 0.171 336.6)
XYZxyz(53.4328, 36.9049, 65.2693)
Luminance0.3690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD2 #7CEC96
analogous
#CE7CEC #EC7CD2 #EC7C9A
triadic
#EC7CD2 #D2EC7C #7CD2EC
tetradic
#EC7CD2 #ECCE7C #7CEC96 #7C9AEC
square
#EC7CD2 #ECCE7C #7CEC96 #7C9AEC
split-complementary
#EC7CD2 #9AEC7C #7CECCE
monochromatic
#D01EA6 #E447C0 #EC7CD2 #F4B1E4 #FBE4F6

Accessibility & contrast

On white

2.51
#EC7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD2#FFFFFF#000000##000000
##EC7CD21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E99D5
Deuteranopia (green-blind)
#9CAACF
Tritanopia (blue-blind)
#F6809D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd2;
/* rgb */ color: rgb(236, 124, 210);
/* oklch */ color: oklch(73.9% 0.171 336.6);
Tailwind
colors: {
  custom: {
    50: '#f4a5e0',
    500: '#ec7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd2;
$custom-light: #f4a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd2",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 313.929,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.17103,
    "h": 336.6
  },
  "luminance": 0.36901
}

Semantic roles & 50–950 ramp

primary
#EC7CD2
secondary
#D3F1DA
accent
#D73D0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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