#EC7CA2#EC7CA2

#EC7CA2 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.2% C 0.143 H 359.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#EC7CA2
RGBrgb(236, 124, 162)
HSLhsl(340, 75%, 71%)
HSVhsv(340, 47%, 93%)
CMYKcmyk(0%, 47.5%, 31.4%, 7.5%)
CIE-LABlab(65.64, 47.17, -0.49)
CIE-LCHlch(65.64, 47.17, 359.40°)
OKLaboklab(72.23% 0.1431 -0.0007)
OKLCHoklch(72.23% 0.143 359.7)
XYZxyz(48.3233, 34.8611, 38.3592)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA2 #7CECC6
analogous
#EC7CDA #EC7CA2 #EC8E7C
triadic
#EC7CA2 #A2EC7C #7CA2EC
tetradic
#EC7CA2 #DAEC7C #7CECC6 #8E7CEC
square
#EC7CA2 #DAEC7C #7CECC6 #8E7CEC
split-complementary
#EC7CA2 #7CEC8E #7CDAEC
monochromatic
#D01E5A #E4477C #EC7CA2 #F4B1C8 #FBE4EC

Accessibility & contrast

On white

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

On black

7.97
#EC7CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA2#FFFFFF#000000##000000
##EC7CA21.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D93A3
Deuteranopia (green-blind)
#A9A79F
Tritanopia (blue-blind)
#FC748A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7ca2;
/* rgb */ color: rgb(236, 124, 162);
/* oklch */ color: oklch(72.2% 0.143 359.7);
Tailwind
colors: {
  custom: {
    50: '#f5a4bd',
    500: '#ec7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca2;
$custom-light: #f5a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca2",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 339.643,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.14307,
    "h": 359.7
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#EC7CA2
secondary
#D3F1E7
accent
#D7930F
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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