#EC8DBA#EC8DBA

#EC8DBA is a light, vivid pink. Relative luminance 0.404; OKLCH L 75.6% C 0.127 H 350.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#EC8DBA
RGBrgb(236, 141, 186)
HSLhsl(332, 71%, 74%)
HSVhsv(332, 40%, 93%)
CMYKcmyk(0%, 40.3%, 21.2%, 7.5%)
CIE-LABlab(69.78, 41.77, -7.90)
CIE-LCHlch(69.78, 42.51, 349.29°)
OKLaboklab(75.59% 0.125 -0.0204)
OKLCHoklch(75.59% 0.127 350.7)
XYZxyz(52.9809, 40.4314, 51.4584)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DBA #8DECBF
analogous
#EC8DEA #EC8DBA #EC908D
triadic
#EC8DBA #BAEC8D #8DBAEC
tetradic
#EC8DBA #EAEC8D #8DECBF #908DEC
square
#EC8DBA #EAEC8D #8DECBF #908DEC
split-complementary
#EC8DBA #8DEC90 #8DEAEC
monochromatic
#DA247B #E3599A #EC8DBA #F5C1DA #FBE5EF

Accessibility & contrast

On white

2.31
#EC8DBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#EC8DBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DBA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DBA#FFFFFF#000000##000000
##EC8DBA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A1BC
Deuteranopia (green-blind)
#AEB1B8
Tritanopia (blue-blind)
#F98A9D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8dba;
/* rgb */ color: rgb(236, 141, 186);
/* oklch */ color: oklch(75.6% 0.127 350.7);
Tailwind
colors: {
  custom: {
    50: '#f4b0ce',
    500: '#ec8dba',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dba;
$custom-light: #f4b0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dba",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 186
  },
  "hsl": {
    "h": 331.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.12663,
    "h": 350.7
  },
  "luminance": 0.40428
}

Semantic roles & 50–950 ramp

primary
#EC8DBA
secondary
#D9F2E6
accent
#D37812
background
#FFFAFC
surface
#FFF5F9
border
#D7CFD2
text
#171113
muted
#858082

Preview Lab

Preview with #EC8DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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