#EC7DCD#EC7DCD

#EC7DCD is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.9% C 0.166 H 338.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC7DCD
RGBrgb(236, 125, 205)
HSLhsl(317, 74%, 71%)
HSVhsv(317, 47%, 93%)
CMYKcmyk(0%, 47%, 13.1%, 7.5%)
CIE-LABlab(67.21, 52.74, -22.38)
CIE-LCHlch(67.21, 57.29, 337.01°)
OKLaboklab(73.86% 0.1544 -0.06)
OKLCHoklch(73.86% 0.166 338.8)
XYZxyz(52.9456, 36.9115, 62.0817)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DCD #7DEC9C
analogous
#D47DEC #EC7DCD #EC7D95
triadic
#EC7DCD #CDEC7D #7DCDEC
tetradic
#EC7DCD #ECD47D #7DEC9C #7D95EC
square
#EC7DCD #ECD47D #7DEC9C #7D95EC
split-complementary
#EC7DCD #95EC7D #7DECD4
monochromatic
#D01E9F #E448B8 #EC7DCD #F4B2E2 #FBE4F5

Accessibility & contrast

On white

2.51
#EC7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC7DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DCD
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DCD#FFFFFF#000000##000000
##EC7DCD1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8199D0
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#F7809C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7dcd;
/* rgb */ color: rgb(236, 125, 205);
/* oklch */ color: oklch(73.9% 0.166 338.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6dc',
    500: '#ec7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dcd;
$custom-light: #f4a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dcd",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 316.757,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73862,
    "c": 0.16562,
    "h": 338.8
  },
  "luminance": 0.36908
}

Semantic roles & 50–950 ramp

primary
#EC7DCD
secondary
#D3F1DC
accent
#D7470F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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