#EC8CA6#EC8CA6

#EC8CA6 is a light, moderate pink. Relative luminance 0.393; OKLCH L 74.8% C 0.120 H 2.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EC8CA6
RGBrgb(236, 140, 166)
HSLhsl(344, 72%, 74%)
HSVhsv(344, 41%, 93%)
CMYKcmyk(0%, 40.7%, 29.7%, 7.5%)
CIE-LABlab(69.00, 39.53, 2.15)
CIE-LCHlch(69.00, 39.59, 3.11°)
OKLaboklab(74.81% 0.1197 0.0061)
OKLCHoklch(74.81% 0.12 2.9)
XYZxyz(50.8548, 39.3461, 40.9851)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CA6 #8CECD2
analogous
#EC8CD6 #EC8CA6 #ECA28C
triadic
#EC8CA6 #A6EC8C #8CA6EC
tetradic
#EC8CA6 #D6EC8C #8CECD2 #A28CEC
square
#EC8CA6 #D6EC8C #8CECD2 #A28CEC
split-complementary
#EC8CA6 #8CECA2 #8CD6EC
monochromatic
#DA2455 #E3577D #EC8CA6 #F5C1CF #FBE5EB

Accessibility & contrast

On white

2.37
#EC8CA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#EC8CA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CA6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CA6#FFFFFF#000000##000000
##EC8CA61.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9EA7
Deuteranopia (green-blind)
#B2AFA4
Tritanopia (blue-blind)
#FB8595
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ca6;
/* rgb */ color: rgb(236, 140, 166);
/* oklch */ color: oklch(74.8% 0.120 2.9);
Tailwind
colors: {
  custom: {
    50: '#f4afc0',
    500: '#ec8ca6',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ca6;
$custom-light: #f4afc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ca6",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 343.75,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.11986,
    "h": 2.9
  },
  "luminance": 0.39342
}

Semantic roles & 50–950 ramp

primary
#EC8CA6
secondary
#D9F2EB
accent
#D49F12
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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