#EC7DBA#EC7DBA

#EC7DBA is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.2% C 0.153 H 347.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#EC7DBA
RGBrgb(236, 125, 186)
HSLhsl(327, 74%, 71%)
HSVhsv(327, 47%, 93%)
CMYKcmyk(0%, 47%, 21.2%, 7.5%)
CIE-LABlab(66.56, 49.89, -12.71)
CIE-LCHlch(66.56, 51.48, 345.71°)
OKLaboklab(73.16% 0.1492 -0.0333)
OKLCHoklch(73.16% 0.153 347.4)
XYZxyz(50.7898, 36.0492, 50.7280)
Luminance0.3604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DBA #7DECAF
analogous
#E67DEC #EC7DBA #EC7D82
triadic
#EC7DBA #BAEC7D #7DBAEC
tetradic
#EC7DBA #ECE67D #7DECAF #7D82EC
square
#EC7DBA #ECE67D #7DECAF #7D82EC
split-complementary
#EC7DBA #82EC7D #7DECE6
monochromatic
#D01E80 #E4489E #EC7DBA #F4B2D6 #FBE4F1

Accessibility & contrast

On white

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

On black

8.21
#EC7DBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DBA
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DBA#FFFFFF#000000##000000
##EC7DBA1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8796BC
Deuteranopia (green-blind)
#A4A9B7
Tritanopia (blue-blind)
#F97B94
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec7dba;
/* rgb */ color: rgb(236, 125, 186);
/* oklch */ color: oklch(73.2% 0.153 347.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5ce',
    500: '#ec7dba',
    950: '#000000',
  },
}
SCSS
$custom: #ec7dba;
$custom-light: #f4a5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7dba",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 327.027,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.1529,
    "h": 347.4
  },
  "luminance": 0.36045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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