#EC7EAA#EC7EAA

#EC7EAA is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.8% C 0.143 H 355.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#EC7EAA
RGBrgb(236, 126, 170)
HSLhsl(336, 74%, 71%)
HSVhsv(336, 47%, 93%)
CMYKcmyk(0%, 46.6%, 28%, 7.5%)
CIE-LABlab(66.26, 47.19, -4.12)
CIE-LCHlch(66.26, 47.37, 355.02°)
OKLaboklab(72.77% 0.1427 -0.0102)
OKLCHoklch(72.77% 0.143 355.9)
XYZxyz(49.3103, 35.6610, 42.3086)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EAA #7EECC0
analogous
#EC7EE1 #EC7EAA #EC897E
triadic
#EC7EAA #AAEC7E #7EAAEC
tetradic
#EC7EAA #E1EC7E #7EECC0 #897EEC
square
#EC7EAA #E1EC7E #7EECC0 #897EEC
split-complementary
#EC7EAA #7EEC89 #7EE1EC
monochromatic
#D11F66 #E44987 #EC7EAA #F4B3CD #FBE4ED

Accessibility & contrast

On white

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

On black

8.13
#EC7EAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EAA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EAA#FFFFFF#000000##000000
##EC7EAA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D95AB
Deuteranopia (green-blind)
#A9A9A7
Tritanopia (blue-blind)
#FB788E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7eaa;
/* rgb */ color: rgb(236, 126, 170);
/* oklch */ color: oklch(72.8% 0.143 355.9);
Tailwind
colors: {
  custom: {
    50: '#f5a6c3',
    500: '#ec7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eaa;
$custom-light: #f5a6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eaa",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 336,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.14309,
    "h": 355.9
  },
  "luminance": 0.35657
}

Semantic roles & 50–950 ramp

primary
#EC7EAA
secondary
#D4F2E6
accent
#D6870F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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