#EC7CD3#EC7CD3

#EC7CD3 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.0% C 0.172 H 336.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD3
RGBrgb(236, 124, 211)
HSLhsl(313, 75%, 71%)
HSVhsv(313, 47%, 93%)
CMYKcmyk(0%, 47.5%, 10.6%, 7.5%)
CIE-LABlab(67.24, 54.18, -25.68)
CIE-LCHlch(67.24, 59.95, 334.64°)
OKLaboklab(73.96% 0.1572 -0.0692)
OKLCHoklch(73.96% 0.172 336.2)
XYZxyz(53.5578, 36.9548, 65.9275)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD3 #7CEC95
analogous
#CD7CEC #EC7CD3 #EC7C9B
triadic
#EC7CD3 #D3EC7C #7CD3EC
tetradic
#EC7CD3 #ECCD7C #7CEC95 #7C9BEC
square
#EC7CD3 #ECCD7C #7CEC95 #7C9BEC
split-complementary
#EC7CD3 #9BEC7C #7CECCD
monochromatic
#D01EA8 #E447C1 #EC7CD3 #F4B1E5 #FBE4F6

Accessibility & contrast

On white

2.50
#EC7CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#EC7CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD3#FFFFFF#000000##000000
##EC7CD31.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D6
Deuteranopia (green-blind)
#9CAAD0
Tritanopia (blue-blind)
#F6819E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd3;
/* rgb */ color: rgb(236, 124, 211);
/* oklch */ color: oklch(74.0% 0.172 336.2);
Tailwind
colors: {
  custom: {
    50: '#f4a5e0',
    500: '#ec7cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd3;
$custom-light: #f4a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd3",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 313.393,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73959,
    "c": 0.1718,
    "h": 336.2
  },
  "luminance": 0.36951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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