#EC4EAF#EC4EAF

#EC4EAF is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 67.0% C 0.215 H 346.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#EC4EAF
RGBrgb(236, 78, 175)
HSLhsl(323, 81%, 62%)
HSVhsv(323, 67%, 93%)
CMYKcmyk(0%, 66.9%, 25.8%, 7.5%)
CIE-LABlab(58.40, 69.18, -18.77)
CIE-LCHlch(58.40, 71.68, 344.82°)
OKLaboklab(66.98% 0.2095 -0.0496)
OKLCHoklch(66.98% 0.215 346.7)
XYZxyz(45.0562, 26.3815, 43.2684)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EAF #4EEC8B
analogous
#DA4EEC #EC4EAF #EC4E60
triadic
#EC4EAF #AFEC4E #4EAFEC
tetradic
#EC4EAF #ECDA4E #4EEC8B #4E60EC
square
#EC4EAF #ECDA4E #4EEC8B #4E60EC
split-complementary
#EC4EAF #60EC4E #4EECDA
monochromatic
#AD1371 #E41996 #EC4EAF #F285C8 #F8BDE1

Accessibility & contrast

On white

3.35
#EC4EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#EC4EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EAF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EAF#FFFFFF#000000##000000
##EC4EAF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#8F96AB
Tritanopia (blue-blind)
#FC4A78
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec4eaf;
/* rgb */ color: rgb(236, 78, 175);
/* oklch */ color: oklch(67.0% 0.215 346.7);
Tailwind
colors: {
  custom: {
    50: '#f68ac7',
    500: '#ec4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #ec4eaf;
$custom-light: #f68ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4eaf",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 323.165,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66976,
    "c": 0.21533,
    "h": 346.7
  },
  "luminance": 0.26377
}

Semantic roles & 50–950 ramp

primary
#EC4EAF
secondary
#AEE8C4
accent
#DD5B09
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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