#EC528C#EC528C

#EC528C is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.2% C 0.195 H 0.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#EC528C
RGBrgb(236, 82, 140)
HSLhsl(337, 80%, 62%)
HSVhsv(337, 65%, 93%)
CMYKcmyk(0%, 65.3%, 40.7%, 7.5%)
CIE-LABlab(57.81, 63.72, 0.77)
CIE-LCHlch(57.81, 63.72, 0.69°)
OKLaboklab(66.17% 0.1949 0.0028)
OKLCHoklch(66.17% 0.195 0.8)
XYZxyz(42.3459, 25.7660, 27.5492)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC528C #52ECB2
analogous
#EC52D9 #EC528C #EC6552
triadic
#EC528C #8CEC52 #528CEC
tetradic
#EC528C #D9EC52 #52ECB2 #6552EC
square
#EC528C #D9EC52 #52ECB2 #6552EC
split-complementary
#EC528C #52EC65 #52D9EC
monochromatic
#B0134E #E61B67 #EC528C #F289B1 #F8C0D5

Accessibility & contrast

On white

3.41
#EC528C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#EC528C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC528C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC528C#FFFFFF#000000##000000
##EC528C1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#9A9688
Tritanopia (blue-blind)
#FF4069
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec528c;
/* rgb */ color: rgb(236, 82, 140);
/* oklch */ color: oklch(66.2% 0.195 0.8);
Tailwind
colors: {
  custom: {
    50: '#f78bad',
    500: '#ec528c',
    950: '#000000',
  },
}
SCSS
$custom: #ec528c;
$custom-light: #f78bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec528c",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 337.403,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.19493,
    "h": 0.8
  },
  "luminance": 0.25761
}

Semantic roles & 50–950 ramp

primary
#EC528C
secondary
#B1E9D4
accent
#DD8D09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC528C

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

Preview Lab → · Contrast checker → · Palette generator →

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