#EC7DD4#EC7DD4

#EC7DD4 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.1% C 0.171 H 335.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#EC7DD4
RGBrgb(236, 125, 212)
HSLhsl(313, 74%, 71%)
HSVhsv(313, 47%, 93%)
CMYKcmyk(0%, 47%, 10.2%, 7.5%)
CIE-LABlab(67.47, 53.85, -25.89)
CIE-LCHlch(67.47, 59.75, 334.32°)
OKLaboklab(74.14% 0.156 -0.0698)
OKLCHoklch(74.14% 0.171 335.9)
XYZxyz(53.8095, 37.2571, 66.6317)
Luminance0.3725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DD4 #7DEC95
analogous
#CC7DEC #EC7DD4 #EC7D9C
triadic
#EC7DD4 #D4EC7D #7DD4EC
tetradic
#EC7DD4 #ECCC7D #7DEC95 #7D9CEC
square
#EC7DD4 #ECCC7D #7DEC95 #7D9CEC
split-complementary
#EC7DD4 #9CEC7D #7DECCC
monochromatic
#D01EAA #E448C2 #EC7DD4 #F4B2E6 #FBE4F6

Accessibility & contrast

On white

2.48
#EC7DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#EC7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DD4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DD4#FFFFFF#000000##000000
##EC7DD41.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7dd4;
/* rgb */ color: rgb(236, 125, 212);
/* oklch */ color: oklch(74.1% 0.171 335.9);
Tailwind
colors: {
  custom: {
    50: '#f4a6e1',
    500: '#ec7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dd4;
$custom-light: #f4a6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dd4",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 312.973,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74141,
    "c": 0.17094,
    "h": 335.9
  },
  "luminance": 0.37254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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