#EC527C#EC527C

#EC527C is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.7% C 0.191 H 7.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#EC527C
RGBrgb(236, 82, 124)
HSLhsl(344, 80%, 62%)
HSVhsv(344, 65%, 93%)
CMYKcmyk(0%, 65.3%, 47.5%, 7.5%)
CIE-LABlab(57.39, 62.21, 9.57)
CIE-LCHlch(57.39, 62.94, 8.75°)
OKLaboklab(65.72% 0.1894 0.025)
OKLCHoklch(65.72% 0.191 7.5)
XYZxyz(41.2507, 25.3279, 21.7814)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC527C #52ECC2
analogous
#EC52C9 #EC527C #EC7552
triadic
#EC527C #7CEC52 #527CEC
tetradic
#EC527C #C9EC52 #52ECC2 #7552EC
square
#EC527C #C9EC52 #52ECC2 #7552EC
split-complementary
#EC527C #52EC75 #52C9EC
monochromatic
#B0133E #E61B52 #EC527C #F289A6 #F8C0D0

Accessibility & contrast

On white

3.46
#EC527C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#EC527C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC527C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC527C#FFFFFF#000000##000000
##EC527C1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74767D
Deuteranopia (green-blind)
#9C9578
Tritanopia (blue-blind)
#FF3A63
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec527c;
/* rgb */ color: rgb(236, 82, 124);
/* oklch */ color: oklch(65.7% 0.191 7.5);
Tailwind
colors: {
  custom: {
    50: '#f88ba1',
    500: '#ec527c',
    950: '#000000',
  },
}
SCSS
$custom: #ec527c;
$custom-light: #f88ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec527c",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 124
  },
  "hsl": {
    "h": 343.636,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.191,
    "h": 7.5
  },
  "luminance": 0.25323
}

Semantic roles & 50–950 ramp

primary
#EC527C
secondary
#B1E9DA
accent
#DDA309
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0F
muted
#867D7E

Preview Lab

Preview with #EC527C

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

Preview Lab → · Contrast checker → · Palette generator →

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