#EC8CB2#EC8CB2

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

Color values

HEX#EC8CB2
RGBrgb(236, 140, 178)
HSLhsl(336, 72%, 74%)
HSVhsv(336, 41%, 93%)
CMYKcmyk(0%, 40.7%, 24.6%, 7.5%)
CIE-LABlab(69.33, 41.15, -4.09)
CIE-LCHlch(69.33, 41.35, 354.33°)
OKLaboklab(75.17% 0.1239 -0.0102)
OKLCHoklch(75.17% 0.124 355.3)
XYZxyz(52.0074, 39.8071, 47.0552)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CB2 #8CECC6
analogous
#EC8CE2 #EC8CB2 #EC968C
triadic
#EC8CB2 #B2EC8C #8CB2EC
tetradic
#EC8CB2 #E2EC8C #8CECC6 #968CEC
square
#EC8CB2 #E2EC8C #8CECC6 #968CEC
split-complementary
#EC8CB2 #8CEC96 #8CE2EC
monochromatic
#DA246C #E3578F #EC8CB2 #F5C1D5 #FBE5ED

Accessibility & contrast

On white

2.34
#EC8CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EC8CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CB2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CB2#FFFFFF#000000##000000
##EC8CB21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8cb2;
/* rgb */ color: rgb(236, 140, 178);
/* oklch */ color: oklch(75.2% 0.124 355.3);
Tailwind
colors: {
  custom: {
    50: '#f4afc9',
    500: '#ec8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cb2;
$custom-light: #f4afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cb2",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 336.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75172,
    "c": 0.12429,
    "h": 355.3
  },
  "luminance": 0.39803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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