#EC8DAF#EC8DAF

#EC8DAF is a light, vivid pink. Relative luminance 0.400; OKLCH L 75.2% C 0.121 H 357.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#EC8DAF
RGBrgb(236, 141, 175)
HSLhsl(339, 71%, 74%)
HSVhsv(339, 40%, 93%)
CMYKcmyk(0%, 40.3%, 25.8%, 7.5%)
CIE-LABlab(69.46, 40.22, -2.22)
CIE-LCHlch(69.46, 40.28, 356.83°)
OKLaboklab(75.24% 0.1213 -0.0053)
OKLCHoklch(75.24% 0.121 357.5)
XYZxyz(51.8562, 39.9815, 45.5351)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DAF #8DECCA
analogous
#EC8DDF #EC8DAF #EC9B8D
triadic
#EC8DAF #AFEC8D #8DAFEC
tetradic
#EC8DAF #DFEC8D #8DECCA #9B8DEC
square
#EC8DAF #DFEC8D #8DECCA #9B8DEC
split-complementary
#EC8DAF #8DEC9B #8DDFEC
monochromatic
#DA2465 #E3598A #EC8DAF #F5C1D4 #FBE5ED

Accessibility & contrast

On white

2.33
#EC8DAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#EC8DAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DAF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DAF#FFFFFF#000000##000000
##EC8DAF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#999FB0
Deuteranopia (green-blind)
#B1B0AD
Tritanopia (blue-blind)
#FA8899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8daf;
/* rgb */ color: rgb(236, 141, 175);
/* oklch */ color: oklch(75.2% 0.121 357.5);
Tailwind
colors: {
  custom: {
    50: '#f4b0c6',
    500: '#ec8daf',
    950: '#000000',
  },
}
SCSS
$custom: #ec8daf;
$custom-light: #f4b0c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8daf",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 338.526,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75238,
    "c": 0.12142,
    "h": 357.5
  },
  "luminance": 0.39978
}

Semantic roles & 50–950 ramp

primary
#EC8DAF
secondary
#D9F2E9
accent
#D38E12
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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