#EC7CA8#EC7CA8

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

Color values

HEX#EC7CA8
RGBrgb(236, 124, 168)
HSLhsl(336, 75%, 71%)
HSVhsv(336, 47%, 93%)
CMYKcmyk(0%, 47.5%, 28.8%, 7.5%)
CIE-LABlab(65.81, 47.93, -3.65)
CIE-LCHlch(65.81, 48.07, 355.65°)
OKLaboklab(72.41% 0.1451 -0.009)
OKLCHoklch(72.41% 0.145 356.5)
XYZxyz(48.8694, 35.0795, 41.2354)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CA8 #7CECC0
analogous
#EC7CE0 #EC7CA8 #EC887C
triadic
#EC7CA8 #A8EC7C #7CA8EC
tetradic
#EC7CA8 #E0EC7C #7CECC0 #887CEC
square
#EC7CA8 #E0EC7C #7CECC0 #887CEC
split-complementary
#EC7CA8 #7CEC88 #7CE0EC
monochromatic
#D01E64 #E44785 #EC7CA8 #F4B1CB #FBE4ED

Accessibility & contrast

On white

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

On black

8.01
#EC7CA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CA8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CA8#FFFFFF#000000##000000
##EC7CA81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B93A9
Deuteranopia (green-blind)
#A8A8A5
Tritanopia (blue-blind)
#FB768C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec7ca8;
/* rgb */ color: rgb(236, 124, 168);
/* oklch */ color: oklch(72.4% 0.145 356.5);
Tailwind
colors: {
  custom: {
    50: '#f5a5c1',
    500: '#ec7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ca8;
$custom-light: #f5a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ca8",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 336.429,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.14537,
    "h": 356.5
  },
  "luminance": 0.35075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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