#EC7CD9#EC7CD9

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

Color values

HEX#EC7CD9
RGBrgb(236, 124, 217)
HSLhsl(310, 75%, 71%)
HSVhsv(310, 47%, 93%)
CMYKcmyk(0%, 47.5%, 8.1%, 7.5%)
CIE-LABlab(67.47, 55.15, -28.67)
CIE-LCHlch(67.47, 62.15, 332.53°)
OKLaboklab(74.21% 0.1586 -0.0776)
OKLCHoklch(74.21% 0.177 333.9)
XYZxyz(54.3240, 37.2613, 69.9630)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD9 #7CEC8F
analogous
#C77CEC #EC7CD9 #EC7CA1
triadic
#EC7CD9 #D9EC7C #7CD9EC
tetradic
#EC7CD9 #ECC77C #7CEC8F #7CA1EC
square
#EC7CD9 #ECC77C #7CEC8F #7CA1EC
split-complementary
#EC7CD9 #A1EC7C #7CECC7
monochromatic
#D01EB1 #E447C9 #EC7CD9 #F4B1E9 #FBE4F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7CD9#FFFFFF#000000##000000
##EC7CD91.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)
#7B9ADC
Deuteranopia (green-blind)
#9AAAD6
Tritanopia (blue-blind)
#F582A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd9;
/* rgb */ color: rgb(236, 124, 217);
/* oklch */ color: oklch(74.2% 0.177 333.9);
Tailwind
colors: {
  custom: {
    50: '#f4a5e5',
    500: '#ec7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd9;
$custom-light: #f4a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd9",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 310.179,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74206,
    "c": 0.17654,
    "h": 333.9
  },
  "luminance": 0.37258
}

Semantic roles & 50–950 ramp

primary
#EC7CD9
secondary
#D3F1D8
accent
#D7310F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EC7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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