#EC8CB1#EC8CB1

#EC8CB1 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.1% C 0.124 H 355.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EC8CB1
RGBrgb(236, 140, 177)
HSLhsl(337, 72%, 74%)
HSVhsv(337, 41%, 93%)
CMYKcmyk(0%, 40.7%, 25%, 7.5%)
CIE-LABlab(69.30, 41.01, -3.57)
CIE-LCHlch(69.30, 41.16, 355.03°)
OKLaboklab(75.14% 0.1235 -0.0089)
OKLCHoklch(75.14% 0.124 355.9)
XYZxyz(51.9073, 39.7671, 46.5283)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CB1 #8CECC7
analogous
#EC8CE1 #EC8CB1 #EC978C
triadic
#EC8CB1 #B1EC8C #8CB1EC
tetradic
#EC8CB1 #E1EC8C #8CECC7 #978CEC
square
#EC8CB1 #E1EC8C #8CECC7 #978CEC
split-complementary
#EC8CB1 #8CEC97 #8CE1EC
monochromatic
#DA246A #E3578D #EC8CB1 #F5C1D5 #FBE5ED

Accessibility & contrast

On white

2.35
#EC8CB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EC8CB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CB1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CB1#FFFFFF#000000##000000
##EC8CB11.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#989FB2
Deuteranopia (green-blind)
#B0B0AF
Tritanopia (blue-blind)
#FA8799
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8cb1;
/* rgb */ color: rgb(236, 140, 177);
/* oklch */ color: oklch(75.1% 0.124 355.9);
Tailwind
colors: {
  custom: {
    50: '#f4afc8',
    500: '#ec8cb1',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cb1;
$custom-light: #f4afc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cb1",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 336.875,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75141,
    "c": 0.12385,
    "h": 355.9
  },
  "luminance": 0.39763
}

Semantic roles & 50–950 ramp

primary
#EC8CB1
secondary
#D9F2E8
accent
#D48912
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC8CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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