#EC507D#EC507D

#EC507D is a light, vivid pink. Relative luminance 0.251; OKLCH L 65.5% C 0.194 H 6.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#EC507D
RGBrgb(236, 80, 125)
HSLhsl(343, 80%, 62%)
HSVhsv(343, 66%, 93%)
CMYKcmyk(0%, 66.1%, 47%, 7.5%)
CIE-LABlab(57.13, 63.08, 8.61)
CIE-LCHlch(57.13, 63.67, 7.77°)
OKLaboklab(65.54% 0.1922 0.0226)
OKLCHoklch(65.54% 0.194 6.7)
XYZxyz(41.1657, 25.0561, 22.0666)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC507D #50ECBF
analogous
#EC50CB #EC507D #EC7150
triadic
#EC507D #7DEC50 #507DEC
tetradic
#EC507D #CBEC50 #50ECBF #7150EC
square
#EC507D #CBEC50 #50ECBF #7150EC
split-complementary
#EC507D #50EC71 #50CBEC
monochromatic
#AF1340 #E61954 #EC507D #F287A6 #F8BECF

Accessibility & contrast

On white

3.49
#EC507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#EC507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC507D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC507D#FFFFFF#000000##000000
##EC507D1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73757E
Deuteranopia (green-blind)
#9C9579
Tritanopia (blue-blind)
#FF3862
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec507d;
/* rgb */ color: rgb(236, 80, 125);
/* oklch */ color: oklch(65.5% 0.194 6.7);
Tailwind
colors: {
  custom: {
    50: '#f88aa2',
    500: '#ec507d',
    950: '#000000',
  },
}
SCSS
$custom: #ec507d;
$custom-light: #f88aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec507d",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 342.692,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65535,
    "c": 0.19355,
    "h": 6.7
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#EC507D
secondary
#AFE9D8
accent
#DDA009
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0F
muted
#867D7E

Preview Lab

Preview with #EC507D

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

Preview Lab → · Contrast checker → · Palette generator →

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