#EC8CD2#EC8CD2

#EC8CD2 is a light, vivid pink. Relative luminance 0.412; OKLCH L 76.3% C 0.144 H 337.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#EC8CD2
RGBrgb(236, 140, 210)
HSLhsl(316, 72%, 74%)
HSVhsv(316, 41%, 93%)
CMYKcmyk(0%, 40.7%, 11%, 7.5%)
CIE-LABlab(70.35, 45.99, -20.38)
CIE-LCHlch(70.35, 50.30, 336.10°)
OKLaboklab(76.28% 0.1336 -0.0546)
OKLCHoklch(76.28% 0.144 337.8)
XYZxyz(55.6031, 41.2454, 65.9927)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CD2 #8CECA6
analogous
#D68CEC #EC8CD2 #EC8CA2
triadic
#EC8CD2 #D2EC8C #8CD2EC
tetradic
#EC8CD2 #ECD68C #8CECA6 #8CA2EC
square
#EC8CD2 #ECD68C #8CECA6 #8CA2EC
split-complementary
#EC8CD2 #A2EC8C #8CECD6
monochromatic
#DA24A8 #E357BD #EC8CD2 #F5C1E7 #FBE5F5

Accessibility & contrast

On white

2.27
#EC8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#EC8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CD2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CD2#FFFFFF#000000##000000
##EC8CD21.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D5
Deuteranopia (green-blind)
#A7B1CF
Tritanopia (blue-blind)
#F68FA6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8cd2;
/* rgb */ color: rgb(236, 140, 210);
/* oklch */ color: oklch(76.3% 0.144 337.8);
Tailwind
colors: {
  custom: {
    50: '#f4afe0',
    500: '#ec8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cd2;
$custom-light: #f4afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cd2",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 316.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.14435,
    "h": 337.8
  },
  "luminance": 0.41242
}

Semantic roles & 50–950 ramp

primary
#EC8CD2
secondary
#D9F2E0
accent
#D44612
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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