#EC8EA4#EC8EA4

#EC8EA4 is a light, moderate red. Relative luminance 0.399; OKLCH L 75.1% C 0.116 H 5.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#EC8EA4
RGBrgb(236, 142, 164)
HSLhsl(346, 71%, 74%)
HSVhsv(346, 40%, 93%)
CMYKcmyk(0%, 39.8%, 30.5%, 7.5%)
CIE-LABlab(69.37, 38.23, 3.80)
CIE-LCHlch(69.37, 38.42, 5.68°)
OKLaboklab(75.08% 0.1158 0.0104)
OKLCHoklch(75.08% 0.116 5.1)
XYZxyz(50.9677, 39.8631, 40.1247)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EA4 #8EECD6
analogous
#EC8ED3 #EC8EA4 #ECA78E
triadic
#EC8EA4 #A4EC8E #8EA4EC
tetradic
#EC8EA4 #D3EC8E #8EECD6 #A78EEC
square
#EC8EA4 #D3EC8E #8EECD6 #A78EEC
split-complementary
#EC8EA4 #8EECA7 #8ED3EC
monochromatic
#DA2550 #E35A7A #EC8EA4 #F5C2CE #FBE5EA

Accessibility & contrast

On white

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

On black

8.97
#EC8EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EA4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EA4#FFFFFF#000000##000000
##EC8EA41.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9FA5
Deuteranopia (green-blind)
#B4B0A2
Tritanopia (blue-blind)
#FB8796
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec8ea4;
/* rgb */ color: rgb(236, 142, 164);
/* oklch */ color: oklch(75.1% 0.116 5.1);
Tailwind
colors: {
  custom: {
    50: '#f4b0be',
    500: '#ec8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ea4;
$custom-light: #f4b0be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ea4",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 345.957,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75077,
    "c": 0.11631,
    "h": 5.1
  },
  "luminance": 0.39859
}

Semantic roles & 50–950 ramp

primary
#EC8EA4
secondary
#D9F2EC
accent
#D3A612
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171112
muted
#858081

Preview Lab

Preview with #EC8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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