#EC6ED6#EC6ED6

#EC6ED6 is a light, vivid pink. Relative luminance 0.338; OKLCH L 72.2% C 0.196 H 334.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED6
RGBrgb(236, 110, 214)
HSLhsl(310, 77%, 68%)
HSVhsv(310, 53%, 93%)
CMYKcmyk(0%, 53.4%, 9.3%, 7.5%)
CIE-LABlab(64.84, 61.30, -31.06)
CIE-LCHlch(64.84, 68.72, 333.13°)
OKLaboklab(72.21% 0.1772 -0.0843)
OKLCHoklch(72.21% 0.196 334.6)
XYZxyz(52.3058, 33.8435, 67.3828)
Luminance0.3384 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED6 #6EEC84
analogous
#C36EEC #EC6ED6 #EC6E97
triadic
#EC6ED6 #D6EC6E #6ED6EC
tetradic
#EC6ED6 #ECC36E #6EEC84 #6E97EC
square
#EC6ED6 #ECC36E #6EEC84 #6E97EC
split-complementary
#EC6ED6 #97EC6E #6EECC3
monochromatic
#C61AA8 #E538C7 #EC6ED6 #F3A4E5 #FADAF5

Accessibility & contrast

On white

2.70
#EC6ED6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EC6ED6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED6#FFFFFF#000000##000000
##EC6ED61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92D9
Deuteranopia (green-blind)
#92A4D3
Tritanopia (blue-blind)
#F67598
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6ed6;
/* rgb */ color: rgb(236, 110, 214);
/* oklch */ color: oklch(72.2% 0.196 334.6);
Tailwind
colors: {
  custom: {
    50: '#f59de3',
    500: '#ec6ed6',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed6;
$custom-light: #f59de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed6",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 310.476,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.19625,
    "h": 334.6
  },
  "luminance": 0.3384
}

Semantic roles & 50–950 ramp

primary
#EC6ED6
secondary
#C7EECE
accent
#D9300C
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #EC6ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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