#EC6ED2#EC6ED2

#EC6ED2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 72.0% C 0.193 H 336.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED2
RGBrgb(236, 110, 210)
HSLhsl(312, 77%, 68%)
HSVhsv(312, 53%, 93%)
CMYKcmyk(0%, 53.4%, 11%, 7.5%)
CIE-LABlab(64.68, 60.67, -29.07)
CIE-LCHlch(64.68, 67.27, 334.40°)
OKLaboklab(72.04% 0.1765 -0.0787)
OKLCHoklch(72.04% 0.193 336)
XYZxyz(51.8012, 33.6416, 64.7254)
Luminance0.3364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED2 #6EEC88
analogous
#C76EEC #EC6ED2 #EC6E93
triadic
#EC6ED2 #D2EC6E #6ED2EC
tetradic
#EC6ED2 #ECC76E #6EEC88 #6E93EC
square
#EC6ED2 #ECC76E #6EEC88 #6E93EC
split-complementary
#EC6ED2 #93EC6E #6EECC7
monochromatic
#C61AA2 #E538C1 #EC6ED2 #F3A4E3 #FADAF4

Accessibility & contrast

On white

2.72
#EC6ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#EC6ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED2#FFFFFF#000000##000000
##EC6ED21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#94A4CF
Tritanopia (blue-blind)
#F77497
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6ed2;
/* rgb */ color: rgb(236, 110, 210);
/* oklch */ color: oklch(72.0% 0.193 336.0);
Tailwind
colors: {
  custom: {
    50: '#f59de0',
    500: '#ec6ed2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed2;
$custom-light: #f59de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed2",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 210
  },
  "hsl": {
    "h": 312.381,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72041,
    "c": 0.1932,
    "h": 336
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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