#EC7DB3#EC7DB3

#EC7DB3 is a light, vivid pink. Relative luminance 0.358; OKLCH L 72.9% C 0.149 H 350.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC7DB3
RGBrgb(236, 125, 179)
HSLhsl(331, 74%, 71%)
HSVhsv(331, 47%, 93%)
CMYKcmyk(0%, 47%, 24.2%, 7.5%)
CIE-LABlab(66.34, 48.91, -9.09)
CIE-LCHlch(66.34, 49.74, 349.47°)
OKLaboklab(72.92% 0.1471 -0.0235)
OKLCHoklch(72.92% 0.149 350.9)
XYZxyz(50.0638, 35.7588, 46.9045)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DB3 #7DECB6
analogous
#EC7DEA #EC7DB3 #EC7E7D
triadic
#EC7DB3 #B3EC7D #7DB3EC
tetradic
#EC7DB3 #EAEC7D #7DECB6 #7E7DEC
square
#EC7DB3 #EAEC7D #7DECB6 #7E7DEC
split-complementary
#EC7DB3 #7DEC7E #7DEAEC
monochromatic
#D01E75 #E44894 #EC7DB3 #F4B2D2 #FBE4EF

Accessibility & contrast

On white

2.58
#EC7DB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#EC7DB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DB3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DB3#FFFFFF#000000##000000
##EC7DB31.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8995B5
Deuteranopia (green-blind)
#A6A9B0
Tritanopia (blue-blind)
#FA7991
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7db3;
/* rgb */ color: rgb(236, 125, 179);
/* oklch */ color: oklch(72.9% 0.149 350.9);
Tailwind
colors: {
  custom: {
    50: '#f5a5c9',
    500: '#ec7db3',
    950: '#000000',
  },
}
SCSS
$custom: #ec7db3;
$custom-light: #f5a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7db3",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 330.811,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.14898,
    "h": 350.9
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#EC7DB3
secondary
#D3F1E3
accent
#D7750F
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC7DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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