#EC7DB6#EC7DB6

#EC7DB6 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.0% C 0.151 H 349.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC7DB6
RGBrgb(236, 125, 182)
HSLhsl(329, 74%, 71%)
HSVhsv(329, 47%, 93%)
CMYKcmyk(0%, 47%, 22.9%, 7.5%)
CIE-LABlab(66.43, 49.32, -10.64)
CIE-LCHlch(66.43, 50.46, 347.82°)
OKLaboklab(73.02% 0.148 -0.0277)
OKLCHoklch(73.02% 0.151 349.4)
XYZxyz(50.3705, 35.8815, 48.5198)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DB6 #7DECB3
analogous
#EA7DEC #EC7DB6 #EC7D7E
triadic
#EC7DB6 #B6EC7D #7DB6EC
tetradic
#EC7DB6 #ECEA7D #7DECB3 #7D7EEC
square
#EC7DB6 #ECEA7D #7DECB3 #7D7EEC
split-complementary
#EC7DB6 #7EEC7D #7DECEA
monochromatic
#D01E7A #E44898 #EC7DB6 #F4B2D4 #FBE4F0

Accessibility & contrast

On white

2.57
#EC7DB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#EC7DB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DB6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DB6#FFFFFF#000000##000000
##EC7DB61.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8896B8
Deuteranopia (green-blind)
#A5A9B3
Tritanopia (blue-blind)
#FA7A92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7db6;
/* rgb */ color: rgb(236, 125, 182);
/* oklch */ color: oklch(73.0% 0.151 349.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5cb',
    500: '#ec7db6',
    950: '#000000',
  },
}
SCSS
$custom: #ec7db6;
$custom-light: #f4a5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7db6",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 182
  },
  "hsl": {
    "h": 329.189,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73019,
    "c": 0.1506,
    "h": 349.4
  },
  "luminance": 0.35877
}

Semantic roles & 50–950 ramp

primary
#EC7DB6
secondary
#D3F1E2
accent
#D7700F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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