#EC7CD5#EC7CD5

#EC7CD5 is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.0% C 0.173 H 335.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD5
RGBrgb(236, 124, 213)
HSLhsl(312, 75%, 71%)
HSVhsv(312, 47%, 93%)
CMYKcmyk(0%, 47.5%, 9.7%, 7.5%)
CIE-LABlab(67.32, 54.50, -26.68)
CIE-LCHlch(67.32, 60.67, 333.92°)
OKLaboklab(74.04% 0.1577 -0.072)
OKLCHoklch(74.04% 0.173 335.4)
XYZxyz(53.8101, 37.0558, 67.2561)
Luminance0.3705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD5 #7CEC93
analogous
#CB7CEC #EC7CD5 #EC7C9D
triadic
#EC7CD5 #D5EC7C #7CD5EC
tetradic
#EC7CD5 #ECCB7C #7CEC93 #7C9DEC
square
#EC7CD5 #ECCB7C #7CEC93 #7C9DEC
split-complementary
#EC7CD5 #9DEC7C #7CECCB
monochromatic
#D01EAB #E447C4 #EC7CD5 #F4B1E6 #FBE4F6

Accessibility & contrast

On white

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

On black

8.41
#EC7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD5#FFFFFF#000000##000000
##EC7CD51.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7cd5;
/* rgb */ color: rgb(236, 124, 213);
/* oklch */ color: oklch(74.0% 0.173 335.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5e2',
    500: '#ec7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd5;
$custom-light: #f4a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd5",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 312.321,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.17336,
    "h": 335.4
  },
  "luminance": 0.37052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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