#EC8CCD#EC8CCD

#EC8CCD is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.1% C 0.141 H 340.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#EC8CCD
RGBrgb(236, 140, 205)
HSLhsl(319, 72%, 74%)
HSVhsv(319, 41%, 93%)
CMYKcmyk(0%, 40.7%, 13.1%, 7.5%)
CIE-LABlab(70.18, 45.18, -17.87)
CIE-LCHlch(70.18, 48.59, 338.42°)
OKLaboklab(76.09% 0.1323 -0.0476)
OKLCHoklch(76.09% 0.141 340.2)
XYZxyz(54.9899, 41.0001, 62.7632)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CCD #8CECAB
analogous
#DB8CEC #EC8CCD #EC8C9D
triadic
#EC8CCD #CDEC8C #8CCDEC
tetradic
#EC8CCD #ECDB8C #8CECAB #8C9DEC
square
#EC8CCD #ECDB8C #8CECAB #8C9DEC
split-complementary
#EC8CCD #9DEC8C #8CECDB
monochromatic
#DA249F #E357B6 #EC8CCD #F5C1E4 #FBE5F4

Accessibility & contrast

On white

2.28
#EC8CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#EC8CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CCD
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CCD#FFFFFF#000000##000000
##EC8CCD1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#A9B1CA
Tritanopia (blue-blind)
#F68EA4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ccd;
/* rgb */ color: rgb(236, 140, 205);
/* oklch */ color: oklch(76.1% 0.141 340.2);
Tailwind
colors: {
  custom: {
    50: '#f4afdc',
    500: '#ec8ccd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ccd;
$custom-light: #f4afdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ccd",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 319.375,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.14057,
    "h": 340.2
  },
  "luminance": 0.40997
}

Semantic roles & 50–950 ramp

primary
#EC8CCD
secondary
#D9F2E1
accent
#D45012
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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