#EC7DBD#EC7DBD

#EC7DBD is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.3% C 0.155 H 346.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#EC7DBD
RGBrgb(236, 125, 189)
HSLhsl(325, 74%, 71%)
HSVhsv(325, 47%, 93%)
CMYKcmyk(0%, 47%, 19.9%, 7.5%)
CIE-LABlab(66.66, 50.32, -14.25)
CIE-LCHlch(66.66, 52.30, 344.19°)
OKLaboklab(73.26% 0.1501 -0.0375)
OKLCHoklch(73.26% 0.155 346)
XYZxyz(51.1121, 36.1781, 52.4253)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DBD #7DECAC
analogous
#E37DEC #EC7DBD #EC7D85
triadic
#EC7DBD #BDEC7D #7DBDEC
tetradic
#EC7DBD #ECE37D #7DECAC #7D85EC
square
#EC7DBD #ECE37D #7DECAC #7D85EC
split-complementary
#EC7DBD #85EC7D #7DECE3
monochromatic
#D01E85 #E448A2 #EC7DBD #F4B2D8 #FBE4F1

Accessibility & contrast

On white

2.55
#EC7DBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#EC7DBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DBD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DBD#FFFFFF#000000##000000
##EC7DBD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697BF
Deuteranopia (green-blind)
#A3A9BA
Tritanopia (blue-blind)
#F97C95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7dbd;
/* rgb */ color: rgb(236, 125, 189);
/* oklch */ color: oklch(73.3% 0.155 346.0);
Tailwind
colors: {
  custom: {
    50: '#f4a5d1',
    500: '#ec7dbd',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dbd;
$custom-light: #f4a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dbd",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 325.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73264,
    "c": 0.15471,
    "h": 346
  },
  "luminance": 0.36174
}

Semantic roles & 50–950 ramp

primary
#EC7DBD
secondary
#D3F1E0
accent
#D7630F
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC7DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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