#EC7DB9#EC7DB9

#EC7DB9 is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.1% C 0.152 H 347.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#EC7DB9
RGBrgb(236, 125, 185)
HSLhsl(328, 74%, 71%)
HSVhsv(328, 47%, 93%)
CMYKcmyk(0%, 47%, 21.6%, 7.5%)
CIE-LABlab(66.53, 49.75, -12.19)
CIE-LCHlch(66.53, 51.22, 346.23°)
OKLaboklab(73.12% 0.1489 -0.0319)
OKLCHoklch(73.12% 0.152 347.9)
XYZxyz(50.6839, 36.0068, 50.1701)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DB9 #7DECB0
analogous
#E87DEC #EC7DB9 #EC7D81
triadic
#EC7DB9 #B9EC7D #7DB9EC
tetradic
#EC7DB9 #ECE87D #7DECB0 #7D81EC
square
#EC7DB9 #ECE87D #7DECB0 #7D81EC
split-complementary
#EC7DB9 #81EC7D #7DECE8
monochromatic
#D01E7F #E4489C #EC7DB9 #F4B2D6 #FBE4F1

Accessibility & contrast

On white

2.56
#EC7DB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#EC7DB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DB9
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DB9#FFFFFF#000000##000000
##EC7DB91.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8796BB
Deuteranopia (green-blind)
#A5A9B6
Tritanopia (blue-blind)
#F97B93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7db9;
/* rgb */ color: rgb(236, 125, 185);
/* oklch */ color: oklch(73.1% 0.152 347.9);
Tailwind
colors: {
  custom: {
    50: '#f4a5ce',
    500: '#ec7db9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7db9;
$custom-light: #f4a5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7db9",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 185
  },
  "hsl": {
    "h": 327.568,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.15231,
    "h": 347.9
  },
  "luminance": 0.36003
}

Semantic roles & 50–950 ramp

primary
#EC7DB9
secondary
#D3F1E1
accent
#D76B0F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EC7DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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