#EC7CA1#EC7CA1

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

Color values

HEX#EC7CA1
RGBrgb(236, 124, 161)
HSLhsl(340, 75%, 71%)
HSVhsv(340, 47%, 93%)
CMYKcmyk(0%, 47.5%, 31.8%, 7.5%)
CIE-LABlab(65.61, 47.04, 0.03)
CIE-LCHlch(65.61, 47.04, 0.04°)
OKLaboklab(72.2% 0.1427 0.0007)
OKLCHoklch(72.2% 0.143 0.3)
XYZxyz(48.2348, 34.8256, 37.8930)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA1 #7CECC7
analogous
#EC7CD9 #EC7CA1 #EC8F7C
triadic
#EC7CA1 #A1EC7C #7CA1EC
tetradic
#EC7CA1 #D9EC7C #7CECC7 #8F7CEC
square
#EC7CA1 #D9EC7C #7CECC7 #8F7CEC
split-complementary
#EC7CA1 #7CEC8F #7CD9EC
monochromatic
#D01E59 #E4477B #EC7CA1 #F4B1C7 #FBE4EC

Accessibility & contrast

On white

2.64
#EC7CA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#EC7CA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA1#FFFFFF#000000##000000
##EC7CA11.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D93A2
Deuteranopia (green-blind)
#AAA79E
Tritanopia (blue-blind)
#FC7489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec7ca1;
/* rgb */ color: rgb(236, 124, 161);
/* oklch */ color: oklch(72.2% 0.143 0.3);
Tailwind
colors: {
  custom: {
    50: '#f5a4bc',
    500: '#ec7ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca1;
$custom-light: #f5a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca1",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 340.179,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.722,
    "c": 0.14272,
    "h": 0.3
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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