#EC7EAE#EC7EAE

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

Color values

HEX#EC7EAE
RGBrgb(236, 126, 174)
HSLhsl(334, 74%, 71%)
HSVhsv(334, 47%, 93%)
CMYKcmyk(0%, 46.6%, 26.3%, 7.5%)
CIE-LABlab(66.38, 47.73, -6.20)
CIE-LCHlch(66.38, 48.13, 352.59°)
OKLaboklab(72.9% 0.144 -0.0158)
OKLCHoklch(72.9% 0.145 353.7)
XYZxyz(49.6945, 35.8146, 44.3318)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EAE #7EECBC
analogous
#EC7EE5 #EC7EAE #EC857E
triadic
#EC7EAE #AEEC7E #7EAEEC
tetradic
#EC7EAE #E5EC7E #7EECBC #857EEC
square
#EC7EAE #E5EC7E #7EECBC #857EEC
split-complementary
#EC7EAE #7EEC85 #7EE5EC
monochromatic
#D11F6C #E4498D #EC7EAE #F4B3CF #FBE4EE

Accessibility & contrast

On white

2.57
#EC7EAE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#EC7EAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EAE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EAE#FFFFFF#000000##000000
##EC7EAE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95B0
Deuteranopia (green-blind)
#A8A9AB
Tritanopia (blue-blind)
#FB7990
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7eae;
/* rgb */ color: rgb(236, 126, 174);
/* oklch */ color: oklch(72.9% 0.145 353.7);
Tailwind
colors: {
  custom: {
    50: '#f5a6c6',
    500: '#ec7eae',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eae;
$custom-light: #f5a6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eae",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 333.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.729,
    "c": 0.14488,
    "h": 353.7
  },
  "luminance": 0.35811
}

Semantic roles & 50–950 ramp

primary
#EC7EAE
secondary
#D4F2E5
accent
#D67F0F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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