#EC8CAA#EC8CAA

#EC8CAA is a light, vivid pink. Relative luminance 0.395; OKLCH L 74.9% C 0.121 H 0.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#EC8CAA
RGBrgb(236, 140, 170)
HSLhsl(341, 72%, 74%)
HSVhsv(341, 41%, 93%)
CMYKcmyk(0%, 40.7%, 28%, 7.5%)
CIE-LABlab(69.11, 40.06, 0.06)
CIE-LCHlch(69.11, 40.06, 0.09°)
OKLaboklab(74.93% 0.1211 0.0007)
OKLCHoklch(74.93% 0.121 0.3)
XYZxyz(51.2274, 39.4952, 42.9477)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CAA #8CECCE
analogous
#EC8CDA #EC8CAA #EC9E8C
triadic
#EC8CAA #AAEC8C #8CAAEC
tetradic
#EC8CAA #DAEC8C #8CECCE #9E8CEC
square
#EC8CAA #DAEC8C #8CECCE #9E8CEC
split-complementary
#EC8CAA #8CEC9E #8CDAEC
monochromatic
#DA245D #E35783 #EC8CAA #F5C1D1 #FBE5EC

Accessibility & contrast

On white

2.36
#EC8CAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#EC8CAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CAA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CAA#FFFFFF#000000##000000
##EC8CAA1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9EAB
Deuteranopia (green-blind)
#B1AFA8
Tritanopia (blue-blind)
#FB8697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8caa;
/* rgb */ color: rgb(236, 140, 170);
/* oklch */ color: oklch(74.9% 0.121 0.3);
Tailwind
colors: {
  custom: {
    50: '#f4afc3',
    500: '#ec8caa',
    950: '#000000',
  },
}
SCSS
$custom: #ec8caa;
$custom-light: #f4afc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8caa",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 341.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74929,
    "c": 0.12112,
    "h": 0.3
  },
  "luminance": 0.39491
}

Semantic roles & 50–950 ramp

primary
#EC8CAA
secondary
#D9F2EA
accent
#D49712
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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