#EC8DD4#EC8DD4

#EC8DD4 is a light, vivid pink. Relative luminance 0.416; OKLCH L 76.5% C 0.144 H 336.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#EC8DD4
RGBrgb(236, 141, 212)
HSLhsl(315, 71%, 74%)
HSVhsv(315, 40%, 93%)
CMYKcmyk(0%, 40.3%, 10.2%, 7.5%)
CIE-LABlab(70.62, 45.80, -21.07)
CIE-LCHlch(70.62, 50.41, 335.29°)
OKLaboklab(76.5% 0.1327 -0.0565)
OKLCHoklch(76.5% 0.144 336.9)
XYZxyz(56.0006, 41.6393, 67.3621)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DD4 #8DECA5
analogous
#D58DEC #EC8DD4 #EC8DA5
triadic
#EC8DD4 #D4EC8D #8DD4EC
tetradic
#EC8DD4 #ECD58D #8DECA5 #8DA5EC
square
#EC8DD4 #ECD58D #8DECA5 #8DA5EC
split-complementary
#EC8DD4 #A5EC8D #8DECD5
monochromatic
#DA24AC #E359C0 #EC8DD4 #F5C1E8 #FBE5F5

Accessibility & contrast

On white

2.25
#EC8DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#EC8DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DD4
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DD4#FFFFFF#000000##000000
##EC8DD41.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D7
Deuteranopia (green-blind)
#A7B2D1
Tritanopia (blue-blind)
#F590A7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8dd4;
/* rgb */ color: rgb(236, 141, 212);
/* oklch */ color: oklch(76.5% 0.144 336.9);
Tailwind
colors: {
  custom: {
    50: '#f4b0e1',
    500: '#ec8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dd4;
$custom-light: #f4b0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dd4",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 315.158,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76504,
    "c": 0.14421,
    "h": 336.9
  },
  "luminance": 0.41636
}

Semantic roles & 50–950 ramp

primary
#EC8DD4
secondary
#D9F2DF
accent
#D34312
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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