#EC56AF#EC56AF

#EC56AF is a light, highly saturated pink. Relative luminance 0.276; OKLCH L 67.8% C 0.205 H 347.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#EC56AF
RGBrgb(236, 86, 175)
HSLhsl(324, 80%, 63%)
HSVhsv(324, 64%, 93%)
CMYKcmyk(0%, 63.6%, 25.8%, 7.5%)
CIE-LABlab(59.51, 66.10, -17.07)
CIE-LCHlch(59.51, 68.27, 345.52°)
OKLaboklab(67.8% 0.2 -0.045)
OKLCHoklch(67.8% 0.205 347.3)
XYZxyz(45.6596, 27.5882, 43.4695)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56AF #56EC93
analogous
#DE56EC #EC56AF #EC5664
triadic
#EC56AF #AFEC56 #56AFEC
tetradic
#EC56AF #ECDE56 #56EC93 #5664EC
square
#EC56AF #ECDE56 #56EC93 #5664EC
split-complementary
#EC56AF #64EC56 #56ECDE
monochromatic
#B31473 #E61F95 #EC56AF #F28DC9 #F8C4E3

Accessibility & contrast

On white

3.22
#EC56AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EC56AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56AF#FFFFFF#000000##000000
##EC56AF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#9399AB
Tritanopia (blue-blind)
#FC527B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec56af;
/* rgb */ color: rgb(236, 86, 175);
/* oklch */ color: oklch(67.8% 0.205 347.3);
Tailwind
colors: {
  custom: {
    50: '#f68ec7',
    500: '#ec56af',
    950: '#000000',
  },
}
SCSS
$custom: #ec56af;
$custom-light: #f68ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56af",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 324.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.20502,
    "h": 347.3
  },
  "luminance": 0.27584
}

Semantic roles & 50–950 ramp

primary
#EC56AF
secondary
#B4EACA
accent
#DC5F09
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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