#EC7CA6#EC7CA6

#EC7CA6 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.4% C 0.145 H 357.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC7CA6
RGBrgb(236, 124, 166)
HSLhsl(338, 75%, 71%)
HSVhsv(338, 47%, 93%)
CMYKcmyk(0%, 47.5%, 29.7%, 7.5%)
CIE-LABlab(65.75, 47.67, -2.60)
CIE-LCHlch(65.75, 47.74, 356.88°)
OKLaboklab(72.35% 0.1444 -0.0062)
OKLCHoklch(72.35% 0.145 357.5)
XYZxyz(48.6845, 35.0055, 40.2617)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA6 #7CECC2
analogous
#EC7CDE #EC7CA6 #EC8A7C
triadic
#EC7CA6 #A6EC7C #7CA6EC
tetradic
#EC7CA6 #DEEC7C #7CECC2 #8A7CEC
square
#EC7CA6 #DEEC7C #7CECC2 #8A7CEC
split-complementary
#EC7CA6 #7CEC8A #7CDEEC
monochromatic
#D01E61 #E44782 #EC7CA6 #F4B1CA #FBE4ED

Accessibility & contrast

On white

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

On black

8.00
#EC7CA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA6#FFFFFF#000000##000000
##EC7CA61.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7ca6;
/* rgb */ color: rgb(236, 124, 166);
/* oklch */ color: oklch(72.4% 0.145 357.5);
Tailwind
colors: {
  custom: {
    50: '#f5a5c0',
    500: '#ec7ca6',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca6;
$custom-light: #f5a5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca6",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 337.5,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72352,
    "c": 0.14455,
    "h": 357.5
  },
  "luminance": 0.35001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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