#EC7A9C#EC7A9C

#EC7A9C is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.8% C 0.144 H 2.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#EC7A9C
RGBrgb(236, 122, 156)
HSLhsl(342, 75%, 70%)
HSVhsv(342, 48%, 93%)
CMYKcmyk(0%, 48.3%, 33.9%, 7.5%)
CIE-LABlab(65.09, 47.42, 2.11)
CIE-LCHlch(65.09, 47.47, 2.54°)
OKLaboklab(71.76% 0.144 0.0061)
OKLCHoklch(71.76% 0.144 2.4)
XYZxyz(47.5545, 34.1566, 35.5344)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7A9C #7AECCA
analogous
#EC7AD5 #EC7A9C #EC917A
triadic
#EC7A9C #9CEC7A #7A9CEC
tetradic
#EC7A9C #D5EC7A #7AECCA #917AEC
square
#EC7A9C #D5EC7A #7AECCA #917AEC
split-complementary
#EC7A9C #7AEC91 #7AD5EC
monochromatic
#CE1D52 #E44474 #EC7A9C #F4B0C4 #FBE4EB

Accessibility & contrast

On white

2.68
#EC7A9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#EC7A9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7A9C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7A9C#FFFFFF#000000##000000
##EC7A9C1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D919D
Deuteranopia (green-blind)
#AAA699
Tritanopia (blue-blind)
#FD7186
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec7a9c;
/* rgb */ color: rgb(236, 122, 156);
/* oklch */ color: oklch(71.8% 0.144 2.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3b9',
    500: '#ec7a9c',
    950: '#000000',
  },
}
SCSS
$custom: #ec7a9c;
$custom-light: #f5a3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7a9c",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 342.105,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71758,
    "c": 0.14416,
    "h": 2.4
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#EC7A9C
secondary
#D1F1E7
accent
#D79B0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC7A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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