#EC7AA2#EC7AA2

#EC7AA2 is a light, vivid pink. Relative luminance 0.344; OKLCH L 71.9% C 0.146 H 359.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#EC7AA2
RGBrgb(236, 122, 162)
HSLhsl(339, 75%, 70%)
HSVhsv(339, 48%, 93%)
CMYKcmyk(0%, 48.3%, 31.4%, 7.5%)
CIE-LABlab(65.25, 48.16, -1.06)
CIE-LCHlch(65.25, 48.17, 358.73°)
OKLaboklab(71.94% 0.1461 -0.0022)
OKLCHoklch(71.94% 0.146 359.2)
XYZxyz(48.0752, 34.3649, 38.2765)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AA2 #7AECC4
analogous
#EC7ADB #EC7AA2 #EC8B7A
triadic
#EC7AA2 #A2EC7A #7AA2EC
tetradic
#EC7AA2 #DBEC7A #7AECC4 #8B7AEC
square
#EC7AA2 #DBEC7A #7AECC4 #8B7AEC
split-complementary
#EC7AA2 #7AEC8B #7ADBEC
monochromatic
#CE1D5B #E4447D #EC7AA2 #F4B0C7 #FBE4EC

Accessibility & contrast

On white

2.67
#EC7AA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#EC7AA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AA2#FFFFFF#000000##000000
##EC7AA21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#A8A69F
Tritanopia (blue-blind)
#FC7289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7aa2;
/* rgb */ color: rgb(236, 122, 162);
/* oklch */ color: oklch(71.9% 0.146 359.2);
Tailwind
colors: {
  custom: {
    50: '#f5a3bd',
    500: '#ec7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7aa2;
$custom-light: #f5a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7aa2",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 338.947,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71936,
    "c": 0.14613,
    "h": 359.2
  },
  "luminance": 0.34361
}

Semantic roles & 50–950 ramp

primary
#EC7AA2
secondary
#D1F1E6
accent
#D7910E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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