#EC7DB2#EC7DB2

#EC7DB2 is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.9% C 0.148 H 351.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#EC7DB2
RGBrgb(236, 125, 178)
HSLhsl(331, 74%, 71%)
HSVhsv(331, 47%, 93%)
CMYKcmyk(0%, 47%, 24.6%, 7.5%)
CIE-LABlab(66.30, 48.77, -8.57)
CIE-LCHlch(66.30, 49.52, 350.03°)
OKLaboklab(72.88% 0.1468 -0.0221)
OKLCHoklch(72.88% 0.148 351.4)
XYZxyz(49.9630, 35.7185, 46.3738)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DB2 #7DECB7
analogous
#EC7DEA #EC7DB2 #EC7F7D
triadic
#EC7DB2 #B2EC7D #7DB2EC
tetradic
#EC7DB2 #EAEC7D #7DECB7 #7F7DEC
square
#EC7DB2 #EAEC7D #7DECB7 #7F7DEC
split-complementary
#EC7DB2 #7DEC7F #7DEAEC
monochromatic
#D01E73 #E44892 #EC7DB2 #F4B2D2 #FBE4EF

Accessibility & contrast

On white

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

On black

8.14
#EC7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DB2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DB2#FFFFFF#000000##000000
##EC7DB21.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B4
Deuteranopia (green-blind)
#A6A8AF
Tritanopia (blue-blind)
#FA7991
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7db2;
/* rgb */ color: rgb(236, 125, 178);
/* oklch */ color: oklch(72.9% 0.148 351.4);
Tailwind
colors: {
  custom: {
    50: '#f5a5c9',
    500: '#ec7db2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7db2;
$custom-light: #f5a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7db2",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 331.351,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72884,
    "c": 0.14846,
    "h": 351.4
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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