#EC7CA5#EC7CA5

#EC7CA5 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.3% C 0.144 H 358.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#EC7CA5
RGBrgb(236, 124, 165)
HSLhsl(338, 75%, 71%)
HSVhsv(338, 47%, 93%)
CMYKcmyk(0%, 47.5%, 30.1%, 7.5%)
CIE-LABlab(65.72, 47.54, -2.07)
CIE-LCHlch(65.72, 47.59, 357.50°)
OKLaboklab(72.32% 0.1441 -0.0048)
OKLCHoklch(72.32% 0.144 358.1)
XYZxyz(48.5932, 34.9690, 39.7805)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA5 #7CECC3
analogous
#EC7CDD #EC7CA5 #EC8B7C
triadic
#EC7CA5 #A5EC7C #7CA5EC
tetradic
#EC7CA5 #DDEC7C #7CECC3 #8B7CEC
square
#EC7CA5 #DDEC7C #7CECC3 #8B7CEC
split-complementary
#EC7CA5 #7CEC8B #7CDDEC
monochromatic
#D01E5F #E44780 #EC7CA5 #F4B1CA #FBE4ED

Accessibility & contrast

On white

2.63
#EC7CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#EC7CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA5
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA5#FFFFFF#000000##000000
##EC7CA51.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C93A6
Deuteranopia (green-blind)
#A9A7A2
Tritanopia (blue-blind)
#FC758B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7ca5;
/* rgb */ color: rgb(236, 124, 165);
/* oklch */ color: oklch(72.3% 0.144 358.1);
Tailwind
colors: {
  custom: {
    50: '#f5a5bf',
    500: '#ec7ca5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca5;
$custom-light: #f5a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca5",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 338.036,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72321,
    "c": 0.14417,
    "h": 358.1
  },
  "luminance": 0.34965
}

Semantic roles & 50–950 ramp

primary
#EC7CA5
secondary
#D3F1E6
accent
#D78E0F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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