#EC6ED4#EC6ED4

#EC6ED4 is a light, vivid pink. Relative luminance 0.337; OKLCH L 72.1% C 0.195 H 335.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED4
RGBrgb(236, 110, 212)
HSLhsl(311, 77%, 68%)
HSVhsv(311, 53%, 93%)
CMYKcmyk(0%, 53.4%, 10.2%, 7.5%)
CIE-LABlab(64.76, 60.98, -30.06)
CIE-LCHlch(64.76, 67.99, 333.76°)
OKLaboklab(72.13% 0.1768 -0.0815)
OKLCHoklch(72.13% 0.195 335.3)
XYZxyz(52.0519, 33.7419, 66.0459)
Luminance0.3374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED4 #6EEC86
analogous
#C56EEC #EC6ED4 #EC6E95
triadic
#EC6ED4 #D4EC6E #6ED4EC
tetradic
#EC6ED4 #ECC56E #6EEC86 #6E95EC
square
#EC6ED4 #ECC56E #6EEC86 #6E95EC
split-complementary
#EC6ED4 #95EC6E #6EECC5
monochromatic
#C61AA5 #E538C4 #EC6ED4 #F3A4E4 #FADAF4

Accessibility & contrast

On white

2.71
#EC6ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#EC6ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED4#FFFFFF#000000##000000
##EC6ED41.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D7
Deuteranopia (green-blind)
#93A4D1
Tritanopia (blue-blind)
#F67598
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6ed4;
/* rgb */ color: rgb(236, 110, 212);
/* oklch */ color: oklch(72.1% 0.195 335.3);
Tailwind
colors: {
  custom: {
    50: '#f59de1',
    500: '#ec6ed4',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed4;
$custom-light: #f59de1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed4",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 311.429,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72126,
    "c": 0.19471,
    "h": 335.3
  },
  "luminance": 0.33738
}

Semantic roles & 50–950 ramp

primary
#EC6ED4
secondary
#C7EECF
accent
#D9330C
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #EC6ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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