#EC7CD4#EC7CD4

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

Color values

HEX#EC7CD4
RGBrgb(236, 124, 212)
HSLhsl(313, 75%, 71%)
HSVhsv(313, 47%, 93%)
CMYKcmyk(0%, 47.5%, 10.2%, 7.5%)
CIE-LABlab(67.28, 54.34, -26.18)
CIE-LCHlch(67.28, 60.31, 334.28°)
OKLaboklab(74% 0.1575 -0.0706)
OKLCHoklch(74% 0.173 335.8)
XYZxyz(53.6835, 37.0051, 66.5897)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD4 #7CEC94
analogous
#CC7CEC #EC7CD4 #EC7C9C
triadic
#EC7CD4 #D4EC7C #7CD4EC
tetradic
#EC7CD4 #ECCC7C #7CEC94 #7C9CEC
square
#EC7CD4 #ECCC7C #7CEC94 #7C9CEC
split-complementary
#EC7CD4 #9CEC7C #7CECCC
monochromatic
#D01EA9 #E447C2 #EC7CD4 #F4B1E6 #FBE4F6

Accessibility & contrast

On white

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

On black

8.40
#EC7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD4#FFFFFF#000000##000000
##EC7CD41.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7cd4;
/* rgb */ color: rgb(236, 124, 212);
/* oklch */ color: oklch(74.0% 0.173 335.8);
Tailwind
colors: {
  custom: {
    50: '#f4a5e1',
    500: '#ec7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd4;
$custom-light: #f4a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd4",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 312.857,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74,
    "c": 0.17258,
    "h": 335.8
  },
  "luminance": 0.37002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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