#EC7DD1#EC7DD1

#EC7DD1 is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.0% C 0.169 H 337.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EC7DD1
RGBrgb(236, 125, 209)
HSLhsl(315, 74%, 71%)
HSVhsv(315, 47%, 93%)
CMYKcmyk(0%, 47%, 11.4%, 7.5%)
CIE-LABlab(67.36, 53.37, -24.39)
CIE-LCHlch(67.36, 58.67, 335.44°)
OKLaboklab(74.02% 0.1553 -0.0656)
OKLCHoklch(74.02% 0.169 337.1)
XYZxyz(53.4346, 37.1071, 64.6572)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DD1 #7DEC98
analogous
#D07DEC #EC7DD1 #EC7D99
triadic
#EC7DD1 #D1EC7D #7DD1EC
tetradic
#EC7DD1 #ECD07D #7DEC98 #7D99EC
square
#EC7DD1 #ECD07D #7DEC98 #7D99EC
split-complementary
#EC7DD1 #99EC7D #7DECD0
monochromatic
#D01EA5 #E448BE #EC7DD1 #F4B2E4 #FBE4F6

Accessibility & contrast

On white

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

On black

8.42
#EC7DD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DD1
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DD1#FFFFFF#000000##000000
##EC7DD11.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F99D4
Deuteranopia (green-blind)
#9DAACE
Tritanopia (blue-blind)
#F6819D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7dd1;
/* rgb */ color: rgb(236, 125, 209);
/* oklch */ color: oklch(74.0% 0.169 337.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6df',
    500: '#ec7dd1',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dd1;
$custom-light: #f4a6df;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dd1",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 209
  },
  "hsl": {
    "h": 314.595,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7402,
    "c": 0.16862,
    "h": 337.1
  },
  "luminance": 0.37104
}

Semantic roles & 50–950 ramp

primary
#EC7DD1
secondary
#D3F1DB
accent
#D73F0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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