#EC7DCE#EC7DCE

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

Color values

HEX#EC7DCE
RGBrgb(236, 125, 206)
HSLhsl(316, 74%, 71%)
HSVhsv(316, 47%, 93%)
CMYKcmyk(0%, 47%, 12.7%, 7.5%)
CIE-LABlab(67.25, 52.89, -22.88)
CIE-LCHlch(67.25, 57.63, 336.61°)
OKLaboklab(73.9% 0.1546 -0.0614)
OKLCHoklch(73.9% 0.166 338.3)
XYZxyz(53.0666, 36.9599, 62.7195)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DCE #7DEC9B
analogous
#D27DEC #EC7DCE #EC7D96
triadic
#EC7DCE #CEEC7D #7DCEEC
tetradic
#EC7DCE #ECD27D #7DEC9B #7D96EC
square
#EC7DCE #ECD27D #7DEC9B #7D96EC
split-complementary
#EC7DCE #96EC7D #7DECD2
monochromatic
#D01EA0 #E448BA #EC7DCE #F4B2E2 #FBE4F5

Accessibility & contrast

On white

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

On black

8.39
#EC7DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DCE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DCE#FFFFFF#000000##000000
##EC7DCE1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8099D1
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#F7809C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7dce;
/* rgb */ color: rgb(236, 125, 206);
/* oklch */ color: oklch(73.9% 0.166 338.3);
Tailwind
colors: {
  custom: {
    50: '#f4a6dd',
    500: '#ec7dce',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dce;
$custom-light: #f4a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dce",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 316.216,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73901,
    "c": 0.16636,
    "h": 338.3
  },
  "luminance": 0.36956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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