#EC8DB4#EC8DB4

#EC8DB4 is a light, vivid pink. Relative luminance 0.402; OKLCH L 75.4% C 0.124 H 354.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#EC8DB4
RGBrgb(236, 141, 180)
HSLhsl(335, 71%, 74%)
HSVhsv(335, 40%, 93%)
CMYKcmyk(0%, 40.3%, 23.7%, 7.5%)
CIE-LABlab(69.60, 40.91, -4.81)
CIE-LCHlch(69.60, 41.19, 353.29°)
OKLaboklab(75.39% 0.123 -0.0122)
OKLCHoklch(75.39% 0.124 354.3)
XYZxyz(52.3564, 40.1816, 48.1694)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DB4 #8DECC5
analogous
#EC8DE4 #EC8DB4 #EC968D
triadic
#EC8DB4 #B4EC8D #8DB4EC
tetradic
#EC8DB4 #E4EC8D #8DECC5 #968DEC
square
#EC8DB4 #E4EC8D #8DECC5 #968DEC
split-complementary
#EC8DB4 #8DEC96 #8DE4EC
monochromatic
#DA246F #E35991 #EC8DB4 #F5C1D7 #FBE5EE

Accessibility & contrast

On white

2.32
#EC8DB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#EC8DB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DB4
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DB4#FFFFFF#000000##000000
##EC8DB41.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A0B5
Deuteranopia (green-blind)
#B0B0B2
Tritanopia (blue-blind)
#F9899B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec8db4;
/* rgb */ color: rgb(236, 141, 180);
/* oklch */ color: oklch(75.4% 0.124 354.3);
Tailwind
colors: {
  custom: {
    50: '#f4b0ca',
    500: '#ec8db4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8db4;
$custom-light: #f4b0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8db4",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 335.368,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75393,
    "c": 0.12359,
    "h": 354.3
  },
  "luminance": 0.40178
}

Semantic roles & 50–950 ramp

primary
#EC8DB4
secondary
#D9F2E8
accent
#D38412
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171113
muted
#858082

Preview Lab

Preview with #EC8DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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