#EC8CD7#EC8CD7

#EC8CD7 is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.5% C 0.148 H 335.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#EC8CD7
RGBrgb(236, 140, 215)
HSLhsl(313, 72%, 74%)
HSVhsv(313, 41%, 93%)
CMYKcmyk(0%, 40.7%, 8.9%, 7.5%)
CIE-LABlab(70.52, 46.81, -22.88)
CIE-LCHlch(70.52, 52.10, 333.95°)
OKLaboklab(76.47% 0.1349 -0.0615)
OKLCHoklch(76.47% 0.148 335.5)
XYZxyz(56.2358, 41.4985, 69.3247)
Luminance0.4149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CD7 #8CECA1
analogous
#D18CEC #EC8CD7 #EC8CA7
triadic
#EC8CD7 #D7EC8C #8CD7EC
tetradic
#EC8CD7 #ECD18C #8CECA1 #8CA7EC
square
#EC8CD7 #ECD18C #8CECA1 #8CA7EC
split-complementary
#EC8CD7 #A7EC8C #8CECD1
monochromatic
#DA24B2 #E357C5 #EC8CD7 #F5C1E9 #FBE5F6

Accessibility & contrast

On white

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

On black

9.30
#EC8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CD7
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CD7#FFFFFF#000000##000000
##EC8CD71.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8cd7;
/* rgb */ color: rgb(236, 140, 215);
/* oklch */ color: oklch(76.5% 0.148 335.5);
Tailwind
colors: {
  custom: {
    50: '#f4afe3',
    500: '#ec8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cd7;
$custom-light: #f4afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cd7",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 313.125,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76465,
    "c": 0.14832,
    "h": 335.5
  },
  "luminance": 0.41495
}

Semantic roles & 50–950 ramp

primary
#EC8CD7
secondary
#D9F2DE
accent
#D43C12
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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