#EC8CD6#EC8CD6

#EC8CD6 is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.4% C 0.148 H 335.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EC8CD6
RGBrgb(236, 140, 214)
HSLhsl(314, 72%, 74%)
HSVhsv(314, 41%, 93%)
CMYKcmyk(0%, 40.7%, 9.3%, 7.5%)
CIE-LABlab(70.49, 46.64, -22.38)
CIE-LCHlch(70.49, 51.73, 334.37°)
OKLaboklab(76.43% 0.1347 -0.0601)
OKLCHoklch(76.43% 0.148 335.9)
XYZxyz(56.1077, 41.4473, 68.6501)
Luminance0.4144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CD6 #8CECA2
analogous
#D28CEC #EC8CD6 #EC8CA6
triadic
#EC8CD6 #D6EC8C #8CD6EC
tetradic
#EC8CD6 #ECD28C #8CECA2 #8CA6EC
square
#EC8CD6 #ECD28C #8CECA2 #8CA6EC
split-complementary
#EC8CD6 #A6EC8C #8CECD2
monochromatic
#DA24B0 #E357C3 #EC8CD6 #F5C1E9 #FBE5F6

Accessibility & contrast

On white

2.26
#EC8CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#EC8CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CD6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CD6#FFFFFF#000000##000000
##EC8CD61.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA4D9
Deuteranopia (green-blind)
#A6B2D3
Tritanopia (blue-blind)
#F590A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8cd6;
/* rgb */ color: rgb(236, 140, 214);
/* oklch */ color: oklch(76.4% 0.148 335.9);
Tailwind
colors: {
  custom: {
    50: '#f4afe2',
    500: '#ec8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cd6;
$custom-light: #f4afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cd6",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 313.75,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76427,
    "c": 0.14751,
    "h": 335.9
  },
  "luminance": 0.41444
}

Semantic roles & 50–950 ramp

primary
#EC8CD6
secondary
#D9F2DF
accent
#D43E12
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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