#EC7EAD#EC7EAD

#EC7EAD is a light, vivid pink. Relative luminance 0.358; OKLCH L 72.9% C 0.144 H 354.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC7EAD
RGBrgb(236, 126, 173)
HSLhsl(334, 74%, 71%)
HSVhsv(334, 47%, 93%)
CMYKcmyk(0%, 46.6%, 26.7%, 7.5%)
CIE-LABlab(66.35, 47.59, -5.68)
CIE-LCHlch(66.35, 47.93, 353.19°)
OKLaboklab(72.87% 0.1437 -0.0144)
OKLCHoklch(72.87% 0.144 354.3)
XYZxyz(49.5974, 35.7758, 43.8203)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EAD #7EECBD
analogous
#EC7EE4 #EC7EAD #EC867E
triadic
#EC7EAD #ADEC7E #7EADEC
tetradic
#EC7EAD #E4EC7E #7EECBD #867EEC
square
#EC7EAD #E4EC7E #7EECBD #867EEC
split-complementary
#EC7EAD #7EEC86 #7EE4EC
monochromatic
#D11F6B #E4498B #EC7EAD #F4B3CF #FBE4EE

Accessibility & contrast

On white

2.58
#EC7EAD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#EC7EAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EAD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EAD#FFFFFF#000000##000000
##EC7EAD1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AF
Deuteranopia (green-blind)
#A8A9AA
Tritanopia (blue-blind)
#FB798F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7ead;
/* rgb */ color: rgb(236, 126, 173);
/* oklch */ color: oklch(72.9% 0.144 354.3);
Tailwind
colors: {
  custom: {
    50: '#f5a6c5',
    500: '#ec7ead',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ead;
$custom-light: #f5a6c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ead",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 173
  },
  "hsl": {
    "h": 334.364,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.14442,
    "h": 354.3
  },
  "luminance": 0.35772
}

Semantic roles & 50–950 ramp

primary
#EC7EAD
secondary
#D4F2E5
accent
#D6810F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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