#EC6ED7#EC6ED7

#EC6ED7 is a light, vivid pink. Relative luminance 0.339; OKLCH L 72.3% C 0.197 H 334.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED7
RGBrgb(236, 110, 215)
HSLhsl(310, 77%, 68%)
HSVhsv(310, 53%, 93%)
CMYKcmyk(0%, 53.4%, 8.9%, 7.5%)
CIE-LABlab(64.88, 61.46, -31.56)
CIE-LCHlch(64.88, 69.08, 332.82°)
OKLaboklab(72.26% 0.1774 -0.0857)
OKLCHoklch(72.26% 0.197 334.2)
XYZxyz(52.4339, 33.8947, 68.0574)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED7 #6EEC83
analogous
#C26EEC #EC6ED7 #EC6E98
triadic
#EC6ED7 #D7EC6E #6ED7EC
tetradic
#EC6ED7 #ECC26E #6EEC83 #6E98EC
square
#EC6ED7 #ECC26E #6EEC83 #6E98EC
split-complementary
#EC6ED7 #98EC6E #6EECC2
monochromatic
#C61AA9 #E538C8 #EC6ED7 #F3A4E6 #FADAF5

Accessibility & contrast

On white

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

On black

7.78
#EC6ED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED7#FFFFFF#000000##000000
##EC6ED71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DA
Deuteranopia (green-blind)
#92A4D4
Tritanopia (blue-blind)
#F67699
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6ed7;
/* rgb */ color: rgb(236, 110, 215);
/* oklch */ color: oklch(72.3% 0.197 334.2);
Tailwind
colors: {
  custom: {
    50: '#f59de3',
    500: '#ec6ed7',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed7;
$custom-light: #f59de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed7",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 215
  },
  "hsl": {
    "h": 310,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72256,
    "c": 0.19702,
    "h": 334.2
  },
  "luminance": 0.33891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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