#EC7EC4#EC7EC4

#EC7EC4 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.7% C 0.158 H 342.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#EC7EC4
RGBrgb(236, 126, 196)
HSLhsl(322, 74%, 71%)
HSVhsv(322, 47%, 93%)
CMYKcmyk(0%, 46.6%, 16.9%, 7.5%)
CIE-LABlab(67.08, 50.86, -17.53)
CIE-LCHlch(67.08, 53.80, 340.98°)
OKLaboklab(73.66% 0.1506 -0.0466)
OKLCHoklch(73.66% 0.158 342.8)
XYZxyz(52.0175, 36.7438, 56.5664)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EC4 #7EECA6
analogous
#DD7EEC #EC7EC4 #EC7E8D
triadic
#EC7EC4 #C4EC7E #7EC4EC
tetradic
#EC7EC4 #ECDD7E #7EECA6 #7E8DEC
square
#EC7EC4 #ECDD7E #7EECA6 #7E8DEC
split-complementary
#EC7EC4 #8DEC7E #7EECDD
monochromatic
#D11F90 #E449AC #EC7EC4 #F4B3DC #FBE4F3

Accessibility & contrast

On white

2.52
#EC7EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#EC7EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EC4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EC4#FFFFFF#000000##000000
##EC7EC41.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8598C6
Deuteranopia (green-blind)
#A2AAC1
Tritanopia (blue-blind)
#F87E98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7ec4;
/* rgb */ color: rgb(236, 126, 196);
/* oklch */ color: oklch(73.7% 0.158 342.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6d6',
    500: '#ec7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ec4;
$custom-light: #f4a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ec4",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 321.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73663,
    "c": 0.15761,
    "h": 342.8
  },
  "luminance": 0.3674
}

Semantic roles & 50–950 ramp

primary
#EC7EC4
secondary
#D4F2DF
accent
#D6580F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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