#EC7CD8#EC7CD8

#EC7CD8 is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.2% C 0.176 H 334.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD8
RGBrgb(236, 124, 216)
HSLhsl(311, 75%, 71%)
HSVhsv(311, 47%, 93%)
CMYKcmyk(0%, 47.5%, 8.5%, 7.5%)
CIE-LABlab(67.43, 54.98, -28.17)
CIE-LCHlch(67.43, 61.78, 332.87°)
OKLaboklab(74.16% 0.1583 -0.0762)
OKLCHoklch(74.16% 0.176 334.3)
XYZxyz(54.1944, 37.2095, 69.2801)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD8 #7CEC90
analogous
#C87CEC #EC7CD8 #EC7CA0
triadic
#EC7CD8 #D8EC7C #7CD8EC
tetradic
#EC7CD8 #ECC87C #7CEC90 #7CA0EC
square
#EC7CD8 #ECC87C #7CEC90 #7CA0EC
split-complementary
#EC7CD8 #A0EC7C #7CECC8
monochromatic
#D01EB0 #E447C8 #EC7CD8 #F4B1E8 #FBE4F7

Accessibility & contrast

On white

2.49
#EC7CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#EC7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD8#FFFFFF#000000##000000
##EC7CD81.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADB
Deuteranopia (green-blind)
#9AAAD5
Tritanopia (blue-blind)
#F582A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd8;
/* rgb */ color: rgb(236, 124, 216);
/* oklch */ color: oklch(74.2% 0.176 334.3);
Tailwind
colors: {
  custom: {
    50: '#f4a5e4',
    500: '#ec7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd8;
$custom-light: #f4a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd8",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 310.714,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74164,
    "c": 0.17574,
    "h": 334.3
  },
  "luminance": 0.37206
}

Semantic roles & 50–950 ramp

primary
#EC7CD8
secondary
#D3F1D8
accent
#D7320F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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