#EC7CC2#EC7CC2

#EC7CC2 is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.3% C 0.160 H 343.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#EC7CC2
RGBrgb(236, 124, 194)
HSLhsl(323, 75%, 71%)
HSVhsv(323, 47%, 93%)
CMYKcmyk(0%, 47.5%, 17.8%, 7.5%)
CIE-LABlab(66.63, 51.55, -17.09)
CIE-LCHlch(66.63, 54.31, 341.66°)
OKLaboklab(73.3% 0.153 -0.0453)
OKLCHoklch(73.3% 0.16 343.5)
XYZxyz(51.5382, 36.1470, 55.2911)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CC2 #7CECA6
analogous
#DE7CEC #EC7CC2 #EC7C8A
triadic
#EC7CC2 #C2EC7C #7CC2EC
tetradic
#EC7CC2 #ECDE7C #7CECA6 #7C8AEC
square
#EC7CC2 #ECDE7C #7CECA6 #7C8AEC
split-complementary
#EC7CC2 #8AEC7C #7CECDE
monochromatic
#D01E8D #E447A9 #EC7CC2 #F4B1DB #FBE4F3

Accessibility & contrast

On white

2.55
#EC7CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#EC7CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CC2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CC2#FFFFFF#000000##000000
##EC7CC21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8497C4
Deuteranopia (green-blind)
#A1A9BF
Tritanopia (blue-blind)
#F87C97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7cc2;
/* rgb */ color: rgb(236, 124, 194);
/* oklch */ color: oklch(73.3% 0.160 343.5);
Tailwind
colors: {
  custom: {
    50: '#f4a5d4',
    500: '#ec7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cc2;
$custom-light: #f4a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cc2",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 322.5,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.15954,
    "h": 343.5
  },
  "luminance": 0.36143
}

Semantic roles & 50–950 ramp

primary
#EC7CC2
secondary
#D3F1DE
accent
#D75A0F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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