#EC7AA4#EC7AA4

#EC7AA4 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.0% C 0.147 H 358.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#EC7AA4
RGBrgb(236, 122, 164)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 48%, 93%)
CMYKcmyk(0%, 48.3%, 30.5%, 7.5%)
CIE-LABlab(65.31, 48.41, -2.12)
CIE-LCHlch(65.31, 48.46, 357.50°)
OKLaboklab(72% 0.1468 -0.0049)
OKLCHoklch(72% 0.147 358.1)
XYZxyz(48.2544, 34.4365, 39.2203)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AA4 #7AECC2
analogous
#EC7ADD #EC7AA4 #EC897A
triadic
#EC7AA4 #A4EC7A #7AA4EC
tetradic
#EC7AA4 #DDEC7A #7AECC2 #897AEC
square
#EC7AA4 #DDEC7A #7AECC2 #897AEC
split-complementary
#EC7AA4 #7AEC89 #7ADDEC
monochromatic
#CE1D5F #E4447F #EC7AA4 #F4B0C9 #FBE4ED

Accessibility & contrast

On white

2.66
#EC7AA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#EC7AA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AA4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AA4#FFFFFF#000000##000000
##EC7AA41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A5
Deuteranopia (green-blind)
#A8A6A1
Tritanopia (blue-blind)
#FC7389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7aa4;
/* rgb */ color: rgb(236, 122, 164);
/* oklch */ color: oklch(72.0% 0.147 358.1);
Tailwind
colors: {
  custom: {
    50: '#f5a3be',
    500: '#ec7aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aa4;
$custom-light: #f5a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aa4",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 337.895,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71997,
    "c": 0.14686,
    "h": 358.1
  },
  "luminance": 0.34432
}

Semantic roles & 50–950 ramp

primary
#EC7AA4
secondary
#D1F1E5
accent
#D78D0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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