#EC7CAA#EC7CAA

#EC7CAA is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.5% C 0.146 H 355.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#EC7CAA
RGBrgb(236, 124, 170)
HSLhsl(335, 75%, 71%)
HSVhsv(335, 47%, 93%)
CMYKcmyk(0%, 47.5%, 28%, 7.5%)
CIE-LABlab(65.87, 48.19, -4.69)
CIE-LCHlch(65.87, 48.42, 354.44°)
OKLaboklab(72.48% 0.1458 -0.0117)
OKLCHoklch(72.48% 0.146 355.4)
XYZxyz(49.0572, 35.1546, 42.2242)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CAA #7CECBE
analogous
#EC7CE2 #EC7CAA #EC867C
triadic
#EC7CAA #AAEC7C #7CAAEC
tetradic
#EC7CAA #E2EC7C #7CECBE #867CEC
square
#EC7CAA #E2EC7C #7CECBE #867CEC
split-complementary
#EC7CAA #7CEC86 #7CE2EC
monochromatic
#D01E67 #E44787 #EC7CAA #F4B1CD #FBE4EE

Accessibility & contrast

On white

2.62
#EC7CAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#EC7CAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CAA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CAA#FFFFFF#000000##000000
##EC7CAA1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AC
Deuteranopia (green-blind)
#A8A8A7
Tritanopia (blue-blind)
#FB768D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7caa;
/* rgb */ color: rgb(236, 124, 170);
/* oklch */ color: oklch(72.5% 0.146 355.4);
Tailwind
colors: {
  custom: {
    50: '#f5a5c3',
    500: '#ec7caa',
    950: '#000000',
  },
}
SCSS
$custom: #ec7caa;
$custom-light: #f5a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7caa",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 335.357,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.14622,
    "h": 355.4
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

primary
#EC7CAA
secondary
#D3F1E5
accent
#D7850F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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