#EC8A9D#EC8A9D

#EC8A9D is a light, vivid red. Relative luminance 0.384; OKLCH L 74.2% C 0.121 H 8.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#EC8A9D
RGBrgb(236, 138, 157)
HSLhsl(348, 72%, 73%)
HSVhsv(348, 42%, 93%)
CMYKcmyk(0%, 41.5%, 33.5%, 7.5%)
CIE-LABlab(68.35, 39.43, 6.25)
CIE-LCHlch(68.35, 39.92, 9.01°)
OKLaboklab(74.24% 0.1196 0.0167)
OKLCHoklch(74.24% 0.121 8)
XYZxyz(49.7684, 38.4482, 36.6918)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A9D #8AECD9
analogous
#EC8ACE #EC8A9D #ECA88A
triadic
#EC8A9D #9DEC8A #8A9DEC
tetradic
#EC8A9D #CEEC8A #8AECD9 #A88AEC
square
#EC8A9D #CEEC8A #8AECD9 #A88AEC
split-complementary
#EC8A9D #8AECA8 #8ACEEC
monochromatic
#D82346 #E35571 #EC8A9D #F5BFC9 #FBE5E9

Accessibility & contrast

On white

2.42
#EC8A9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#EC8A9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A9D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A9D#FFFFFF#000000##000000
##EC8A9D1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9B9D
Deuteranopia (green-blind)
#B3AE9B
Tritanopia (blue-blind)
#FC8191
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec8a9d;
/* rgb */ color: rgb(236, 138, 157);
/* oklch */ color: oklch(74.2% 0.121 8.0);
Tailwind
colors: {
  custom: {
    50: '#f5aeb9',
    500: '#ec8a9d',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a9d;
$custom-light: #f5aeb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a9d",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 157
  },
  "hsl": {
    "h": 348.367,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7424,
    "c": 0.12073,
    "h": 8
  },
  "luminance": 0.38444
}

Semantic roles & 50–950 ramp

primary
#EC8A9D
secondary
#D9F2ED
accent
#D4AE11
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC8A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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