#EC8DC2#EC8DC2

#EC8DC2 is a light, vivid pink. Relative luminance 0.408; OKLCH L 75.9% C 0.131 H 346.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#EC8DC2
RGBrgb(236, 141, 194)
HSLhsl(327, 71%, 74%)
HSVhsv(327, 40%, 93%)
CMYKcmyk(0%, 40.3%, 17.8%, 7.5%)
CIE-LABlab(70.02, 42.96, -11.99)
CIE-LCHlch(70.02, 44.60, 344.41°)
OKLaboklab(75.85% 0.1275 -0.0315)
OKLCHoklch(75.85% 0.131 346.1)
XYZxyz(53.8553, 40.7812, 56.0634)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DC2 #8DECB7
analogous
#E78DEC #EC8DC2 #EC8D93
triadic
#EC8DC2 #C2EC8D #8DC2EC
tetradic
#EC8DC2 #ECE78D #8DECB7 #8D93EC
square
#EC8DC2 #ECE78D #8DECB7 #8D93EC
split-complementary
#EC8DC2 #93EC8D #8DECE7
monochromatic
#DA248A #E359A6 #EC8DC2 #F5C1DE #FBE5F1

Accessibility & contrast

On white

2.29
#EC8DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#EC8DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DC2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DC2#FFFFFF#000000##000000
##EC8DC21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A2C4
Deuteranopia (green-blind)
#ACB1C0
Tritanopia (blue-blind)
#F88CA0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8dc2;
/* rgb */ color: rgb(236, 141, 194);
/* oklch */ color: oklch(75.9% 0.131 346.1);
Tailwind
colors: {
  custom: {
    50: '#f4b0d4',
    500: '#ec8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dc2;
$custom-light: #f4b0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dc2",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 326.526,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75854,
    "c": 0.13133,
    "h": 346.1
  },
  "luminance": 0.40778
}

Semantic roles & 50–950 ramp

primary
#EC8DC2
secondary
#D9F2E4
accent
#D36812
background
#FFFAFD
surface
#FEF5FA
border
#D6CFD3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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