#EC8CC4#EC8CC4

#EC8CC4 is a light, vivid pink. Relative luminance 0.406; OKLCH L 75.8% C 0.134 H 344.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#EC8CC4
RGBrgb(236, 140, 196)
HSLhsl(325, 72%, 74%)
HSVhsv(325, 41%, 93%)
CMYKcmyk(0%, 40.7%, 16.9%, 7.5%)
CIE-LABlab(69.88, 43.78, -13.31)
CIE-LCHlch(69.88, 45.76, 343.08°)
OKLaboklab(75.77% 0.1296 -0.0351)
OKLCHoklch(75.77% 0.134 344.8)
XYZxyz(53.9346, 40.5780, 57.2054)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CC4 #8CECB4
analogous
#E48CEC #EC8CC4 #EC8C94
triadic
#EC8CC4 #C4EC8C #8CC4EC
tetradic
#EC8CC4 #ECE48C #8CECB4 #8C94EC
square
#EC8CC4 #ECE48C #8CECB4 #8C94EC
split-complementary
#EC8CC4 #94EC8C #8CECE4
monochromatic
#DA248E #E357A9 #EC8CC4 #F5C1DF #FBE5F2

Accessibility & contrast

On white

2.30
#EC8CC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#EC8CC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CC4
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CC4#FFFFFF#000000##000000
##EC8CC41.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A1C6
Deuteranopia (green-blind)
#ABB1C1
Tritanopia (blue-blind)
#F78BA0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8cc4;
/* rgb */ color: rgb(236, 140, 196);
/* oklch */ color: oklch(75.8% 0.134 344.8);
Tailwind
colors: {
  custom: {
    50: '#f4afd5',
    500: '#ec8cc4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cc4;
$custom-light: #f4afd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cc4",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 196
  },
  "hsl": {
    "h": 325,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75767,
    "c": 0.1343,
    "h": 344.8
  },
  "luminance": 0.40575
}

Semantic roles & 50–950 ramp

primary
#EC8CC4
secondary
#D9F2E3
accent
#D46312
background
#FFFAFD
surface
#FEF5FA
border
#D6CFD3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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