#EC7DD2#EC7DD2

#EC7DD2 is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.1% C 0.169 H 336.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#EC7DD2
RGBrgb(236, 125, 210)
HSLhsl(314, 74%, 71%)
HSVhsv(314, 47%, 93%)
CMYKcmyk(0%, 47%, 11%, 7.5%)
CIE-LABlab(67.39, 53.53, -24.89)
CIE-LCHlch(67.39, 59.03, 335.06°)
OKLaboklab(74.06% 0.1556 -0.067)
OKLCHoklch(74.06% 0.169 336.7)
XYZxyz(53.5588, 37.1568, 65.3113)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DD2 #7DEC97
analogous
#CE7DEC #EC7DD2 #EC7D9A
triadic
#EC7DD2 #D2EC7D #7DD2EC
tetradic
#EC7DD2 #ECCE7D #7DEC97 #7D9AEC
square
#EC7DD2 #ECCE7D #7DEC97 #7D9AEC
split-complementary
#EC7DD2 #9AEC7D #7DECCE
monochromatic
#D01EA7 #E448C0 #EC7DD2 #F4B2E4 #FBE4F6

Accessibility & contrast

On white

2.49
#EC7DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#EC7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DD2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DD2#FFFFFF#000000##000000
##EC7DD21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#9DAACF
Tritanopia (blue-blind)
#F6819E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7dd2;
/* rgb */ color: rgb(236, 125, 210);
/* oklch */ color: oklch(74.1% 0.169 336.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6e0',
    500: '#ec7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dd2;
$custom-light: #f4a6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dd2",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 314.054,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.1694,
    "h": 336.7
  },
  "luminance": 0.37153
}

Semantic roles & 50–950 ramp

primary
#EC7DD2
secondary
#D3F1DA
accent
#D73E0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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