#EC7DC0#EC7DC0

#EC7DC0 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.4% C 0.157 H 344.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC7DC0
RGBrgb(236, 125, 192)
HSLhsl(324, 74%, 71%)
HSVhsv(324, 47%, 93%)
CMYKcmyk(0%, 47%, 18.6%, 7.5%)
CIE-LABlab(66.76, 50.76, -15.78)
CIE-LCHlch(66.76, 53.16, 342.73°)
OKLaboklab(73.37% 0.1509 -0.0417)
OKLCHoklch(73.37% 0.157 344.5)
XYZxyz(51.4411, 36.3097, 54.1581)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DC0 #7DECA9
analogous
#E17DEC #EC7DC0 #EC7D88
triadic
#EC7DC0 #C0EC7D #7DC0EC
tetradic
#EC7DC0 #ECE17D #7DECA9 #7D88EC
square
#EC7DC0 #ECE17D #7DECA9 #7D88EC
split-complementary
#EC7DC0 #88EC7D #7DECE1
monochromatic
#D01E8A #E448A6 #EC7DC0 #F4B2DA #FBE4F2

Accessibility & contrast

On white

2.54
#EC7DC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#EC7DC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DC0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DC0#FFFFFF#000000##000000
##EC7DC01.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8597C2
Deuteranopia (green-blind)
#A3A9BD
Tritanopia (blue-blind)
#F97C96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7dc0;
/* rgb */ color: rgb(236, 125, 192);
/* oklch */ color: oklch(73.4% 0.157 344.5);
Tailwind
colors: {
  custom: {
    50: '#f4a6d3',
    500: '#ec7dc0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dc0;
$custom-light: #f4a6d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dc0",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 323.784,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73372,
    "c": 0.15661,
    "h": 344.5
  },
  "luminance": 0.36306
}

Semantic roles & 50–950 ramp

primary
#EC7DC0
secondary
#D3F1DF
accent
#D75E0F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC7DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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