#EC7DB5#EC7DB5

#EC7DB5 is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.0% C 0.150 H 349.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#EC7DB5
RGBrgb(236, 125, 181)
HSLhsl(330, 74%, 71%)
HSVhsv(330, 47%, 93%)
CMYKcmyk(0%, 47%, 23.3%, 7.5%)
CIE-LABlab(66.40, 49.18, -10.13)
CIE-LCHlch(66.40, 50.21, 348.37°)
OKLaboklab(72.99% 0.1477 -0.0263)
OKLCHoklch(72.99% 0.15 349.9)
XYZxyz(50.2675, 35.8403, 47.9775)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DB5 #7DECB4
analogous
#EC7DEC #EC7DB5 #EC7D7D
triadic
#EC7DB5 #B5EC7D #7DB5EC
tetradic
#EC7DB5 #ECEC7D #7DECB4 #7D7DEC
square
#EC7DB5 #ECEC7D #7DECB4 #7D7DEC
split-complementary
#EC7DB5 #7DEC7D #7DECEC
monochromatic
#D01E78 #E44897 #EC7DB5 #F4B2D3 #FBE4F0

Accessibility & contrast

On white

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

On black

8.17
#EC7DB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DB5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DB5#FFFFFF#000000##000000
##EC7DB51.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8996B7
Deuteranopia (green-blind)
#A6A9B2
Tritanopia (blue-blind)
#FA7A92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec7db5;
/* rgb */ color: rgb(236, 125, 181);
/* oklch */ color: oklch(73.0% 0.150 349.9);
Tailwind
colors: {
  custom: {
    50: '#f4a5cb',
    500: '#ec7db5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7db5;
$custom-light: #f4a5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7db5",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 329.73,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72985,
    "c": 0.15006,
    "h": 349.9
  },
  "luminance": 0.35836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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