#EC8A9E#EC8A9E

#EC8A9E is a light, vivid red. Relative luminance 0.385; OKLCH L 74.3% C 0.121 H 7.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EC8A9E
RGBrgb(236, 138, 158)
HSLhsl(348, 72%, 73%)
HSVhsv(348, 42%, 93%)
CMYKcmyk(0%, 41.5%, 33.1%, 7.5%)
CIE-LABlab(68.37, 39.55, 5.73)
CIE-LCHlch(68.37, 39.96, 8.24°)
OKLaboklab(74.27% 0.1199 0.0154)
OKLCHoklch(74.27% 0.121 7.3)
XYZxyz(49.8541, 38.4825, 37.1433)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A9E #8AECD8
analogous
#EC8ACF #EC8A9E #ECA78A
triadic
#EC8A9E #9EEC8A #8A9EEC
tetradic
#EC8A9E #CFEC8A #8AECD8 #A78AEC
square
#EC8A9E #CFEC8A #8AECD8 #A78AEC
split-complementary
#EC8A9E #8AECA7 #8ACFEC
monochromatic
#D82348 #E35572 #EC8A9E #F5BFCA #FBE5E9

Accessibility & contrast

On white

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

On black

8.70
#EC8A9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A9E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A9E#FFFFFF#000000##000000
##EC8A9E1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec8a9e;
/* rgb */ color: rgb(236, 138, 158);
/* oklch */ color: oklch(74.3% 0.121 7.3);
Tailwind
colors: {
  custom: {
    50: '#f5aeba',
    500: '#ec8a9e',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a9e;
$custom-light: #f5aeba;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a9e",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 158
  },
  "hsl": {
    "h": 347.755,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74267,
    "c": 0.12092,
    "h": 7.3
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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