#EC7DC4#EC7DC4

#EC7DC4 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.5% C 0.159 H 342.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#EC7DC4
RGBrgb(236, 125, 196)
HSLhsl(322, 74%, 71%)
HSVhsv(322, 47%, 93%)
CMYKcmyk(0%, 47%, 16.9%, 7.5%)
CIE-LABlab(66.89, 51.36, -17.82)
CIE-LCHlch(66.89, 54.36, 340.86°)
OKLaboklab(73.52% 0.152 -0.0474)
OKLCHoklch(73.52% 0.159 342.7)
XYZxyz(51.8903, 36.4894, 56.5240)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DC4 #7DECA5
analogous
#DD7DEC #EC7DC4 #EC7D8C
triadic
#EC7DC4 #C4EC7D #7DC4EC
tetradic
#EC7DC4 #ECDD7D #7DECA5 #7D8CEC
square
#EC7DC4 #ECDD7D #7DECA5 #7D8CEC
split-complementary
#EC7DC4 #8CEC7D #7DECDD
monochromatic
#D01E90 #E448AC #EC7DC4 #F4B2DC #FBE4F3

Accessibility & contrast

On white

2.53
#EC7DC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#EC7DC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DC4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DC4#FFFFFF#000000##000000
##EC7DC41.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8498C6
Deuteranopia (green-blind)
#A1A9C1
Tritanopia (blue-blind)
#F87D98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7dc4;
/* rgb */ color: rgb(236, 125, 196);
/* oklch */ color: oklch(73.5% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6d6',
    500: '#ec7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dc4;
$custom-light: #f4a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dc4",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 321.622,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.15925,
    "h": 342.7
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#EC7DC4
secondary
#D3F1DE
accent
#D7570F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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