#EC7EA9#EC7EA9

#EC7EA9 is a light, vivid pink. Relative luminance 0.356; OKLCH L 72.7% C 0.143 H 356.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#EC7EA9
RGBrgb(236, 126, 169)
HSLhsl(337, 74%, 71%)
HSVhsv(337, 47%, 93%)
CMYKcmyk(0%, 46.6%, 28.4%, 7.5%)
CIE-LABlab(66.23, 47.06, -3.59)
CIE-LCHlch(66.23, 47.20, 355.63°)
OKLaboklab(72.74% 0.1424 -0.0088)
OKLCHoklch(72.74% 0.143 356.4)
XYZxyz(49.2161, 35.6233, 41.8123)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EA9 #7EECC1
analogous
#EC7EE0 #EC7EA9 #EC8A7E
triadic
#EC7EA9 #A9EC7E #7EA9EC
tetradic
#EC7EA9 #E0EC7E #7EECC1 #8A7EEC
square
#EC7EA9 #E0EC7E #7EECC1 #8A7EEC
split-complementary
#EC7EA9 #7EEC8A #7EE0EC
monochromatic
#D11F64 #E44985 #EC7EA9 #F4B3CD #FBE4ED

Accessibility & contrast

On white

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

On black

8.12
#EC7EA9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EA9
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EA9#FFFFFF#000000##000000
##EC7EA91.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7ea9;
/* rgb */ color: rgb(236, 126, 169);
/* oklch */ color: oklch(72.7% 0.143 356.4);
Tailwind
colors: {
  custom: {
    50: '#f5a6c2',
    500: '#ec7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ea9;
$custom-light: #f5a6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ea9",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 336.545,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7274,
    "c": 0.14266,
    "h": 356.4
  },
  "luminance": 0.35619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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