#EC8CA4#EC8CA4

#EC8CA4 is a light, moderate red. Relative luminance 0.393; OKLCH L 74.8% C 0.119 H 4.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EC8CA4
RGBrgb(236, 140, 164)
HSLhsl(345, 72%, 74%)
HSVhsv(345, 41%, 93%)
CMYKcmyk(0%, 40.7%, 30.5%, 7.5%)
CIE-LABlab(68.95, 39.27, 3.19)
CIE-LCHlch(68.95, 39.40, 4.65°)
OKLaboklab(74.76% 0.119 0.0089)
OKLCHoklch(74.76% 0.119 4.3)
XYZxyz(50.6728, 39.2733, 40.0264)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CA4 #8CECD4
analogous
#EC8CD4 #EC8CA4 #ECA48C
triadic
#EC8CA4 #A4EC8C #8CA4EC
tetradic
#EC8CA4 #D4EC8C #8CECD4 #A48CEC
square
#EC8CA4 #D4EC8C #8CECD4 #A48CEC
split-complementary
#EC8CA4 #8CECA4 #8CD4EC
monochromatic
#DA2451 #E3577A #EC8CA4 #F5C1CE #FBE5EA

Accessibility & contrast

On white

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

On black

8.85
#EC8CA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CA4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CA4#FFFFFF#000000##000000
##EC8CA41.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9DA5
Deuteranopia (green-blind)
#B3AFA2
Tritanopia (blue-blind)
#FB8594
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec8ca4;
/* rgb */ color: rgb(236, 140, 164);
/* oklch */ color: oklch(74.8% 0.119 4.3);
Tailwind
colors: {
  custom: {
    50: '#f4afbe',
    500: '#ec8ca4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ca4;
$custom-light: #f4afbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ca4",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 164
  },
  "hsl": {
    "h": 345,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74755,
    "c": 0.11931,
    "h": 4.3
  },
  "luminance": 0.39269
}

Semantic roles & 50–950 ramp

primary
#EC8CA4
secondary
#D9F2EC
accent
#D4A312
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC8CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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