#EC8CB0#EC8CB0

#EC8CB0 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.1% C 0.123 H 356.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#EC8CB0
RGBrgb(236, 140, 176)
HSLhsl(338, 72%, 74%)
HSVhsv(338, 41%, 93%)
CMYKcmyk(0%, 40.7%, 25.4%, 7.5%)
CIE-LABlab(69.27, 40.87, -3.05)
CIE-LCHlch(69.27, 40.98, 355.73°)
OKLaboklab(75.11% 0.1232 -0.0075)
OKLCHoklch(75.11% 0.123 356.5)
XYZxyz(51.8080, 39.7274, 46.0053)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CB0 #8CECC8
analogous
#EC8CE0 #EC8CB0 #EC988C
triadic
#EC8CB0 #B0EC8C #8CB0EC
tetradic
#EC8CB0 #E0EC8C #8CECC8 #988CEC
square
#EC8CB0 #E0EC8C #8CECC8 #988CEC
split-complementary
#EC8CB0 #8CEC98 #8CE0EC
monochromatic
#DA2468 #E3578C #EC8CB0 #F5C1D4 #FBE5ED

Accessibility & contrast

On white

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

On black

8.94
#EC8CB0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CB0
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CB0#FFFFFF#000000##000000
##EC8CB01.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8cb0;
/* rgb */ color: rgb(236, 140, 176);
/* oklch */ color: oklch(75.1% 0.123 356.5);
Tailwind
colors: {
  custom: {
    50: '#f4afc7',
    500: '#ec8cb0',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cb0;
$custom-light: #f4afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cb0",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 176
  },
  "hsl": {
    "h": 337.5,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.12342,
    "h": 356.5
  },
  "luminance": 0.39724
}

Semantic roles & 50–950 ramp

primary
#EC8CB0
secondary
#D9F2E9
accent
#D48B12
background
#FFFAFC
surface
#FFF5F8
border
#D7CFD1
text
#171013
muted
#857F82

Preview Lab

Preview with #EC8CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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