#EC7FA9#EC7FA9

#EC7FA9 is a light, vivid pink. Relative luminance 0.359; OKLCH L 72.9% C 0.141 H 356.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC7FA9
RGBrgb(236, 127, 169)
HSLhsl(337, 74%, 71%)
HSVhsv(337, 46%, 93%)
CMYKcmyk(0%, 46.2%, 28.4%, 7.5%)
CIE-LABlab(66.43, 46.56, -3.30)
CIE-LCHlch(66.43, 46.68, 355.94°)
OKLaboklab(72.89% 0.1409 -0.0081)
OKLCHoklch(72.89% 0.141 356.7)
XYZxyz(49.3446, 35.8803, 41.8552)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FA9 #7FECC2
analogous
#EC7FDF #EC7FA9 #EC8B7F
triadic
#EC7FA9 #A9EC7F #7FA9EC
tetradic
#EC7FA9 #DFEC7F #7FECC2 #8B7FEC
square
#EC7FA9 #DFEC7F #7FECC2 #8B7FEC
split-complementary
#EC7FA9 #7FEC8B #7FDFEC
monochromatic
#D21F64 #E44A85 #EC7FA9 #F4B4CD #FBE4ED

Accessibility & contrast

On white

2.57
#EC7FA9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#EC7FA9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FA9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FA9#FFFFFF#000000##000000
##EC7FA91.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95AA
Deuteranopia (green-blind)
#AAA9A6
Tritanopia (blue-blind)
#FB798E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7fa9;
/* rgb */ color: rgb(236, 127, 169);
/* oklch */ color: oklch(72.9% 0.141 356.7);
Tailwind
colors: {
  custom: {
    50: '#f5a7c2',
    500: '#ec7fa9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fa9;
$custom-light: #f5a7c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fa9",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 336.881,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.14109,
    "h": 356.7
  },
  "luminance": 0.35876
}

Semantic roles & 50–950 ramp

primary
#EC7FA9
secondary
#D5F2E7
accent
#D68A0F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC7FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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