#EC8DAC#EC8DAC

#EC8DAC is a light, vivid pink. Relative luminance 0.399; OKLCH L 75.1% C 0.120 H 359.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#EC8DAC
RGBrgb(236, 141, 172)
HSLhsl(340, 71%, 74%)
HSVhsv(340, 40%, 93%)
CMYKcmyk(0%, 40.3%, 27.1%, 7.5%)
CIE-LABlab(69.37, 39.81, -0.67)
CIE-LCHlch(69.37, 39.81, 359.04°)
OKLaboklab(75.15% 0.1203 -0.0012)
OKLCHoklch(75.15% 0.12 359.4)
XYZxyz(51.5649, 39.8650, 44.0006)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DAC #8DECCD
analogous
#EC8DDC #EC8DAC #EC9E8D
triadic
#EC8DAC #ACEC8D #8DACEC
tetradic
#EC8DAC #DCEC8D #8DECCD #9E8DEC
square
#EC8DAC #DCEC8D #8DECCD #9E8DEC
split-complementary
#EC8DAC #8DEC9E #8DDCEC
monochromatic
#DA2460 #E35986 #EC8DAC #F5C1D2 #FBE5EC

Accessibility & contrast

On white

2.34
#EC8DAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#EC8DAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DAC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DAC#FFFFFF#000000##000000
##EC8DAC1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9FAD
Deuteranopia (green-blind)
#B2B0AA
Tritanopia (blue-blind)
#FA8798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8dac;
/* rgb */ color: rgb(236, 141, 172);
/* oklch */ color: oklch(75.1% 0.120 359.4);
Tailwind
colors: {
  custom: {
    50: '#f4b0c4',
    500: '#ec8dac',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dac;
$custom-light: #f4b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dac",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 172
  },
  "hsl": {
    "h": 340.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75148,
    "c": 0.12027,
    "h": 359.4
  },
  "luminance": 0.39861
}

Semantic roles & 50–950 ramp

primary
#EC8DAC
secondary
#D9F2EA
accent
#D39412
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171112
muted
#858081

Preview Lab

Preview with #EC8DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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