#EC8A98#EC8A98

#EC8A98 is a light, vivid red. Relative luminance 0.383; OKLCH L 74.1% C 0.120 H 11.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EC8A98
RGBrgb(236, 138, 152)
HSLhsl(351, 72%, 73%)
HSVhsv(351, 42%, 93%)
CMYKcmyk(0%, 41.5%, 35.6%, 7.5%)
CIE-LABlab(68.23, 38.82, 8.88)
CIE-LCHlch(68.23, 39.83, 12.89°)
OKLaboklab(74.11% 0.1177 0.0234)
OKLCHoklch(74.11% 0.12 11.2)
XYZxyz(49.3502, 38.2809, 34.4895)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A98 #8AECDE
analogous
#EC8AC9 #EC8A98 #ECAD8A
triadic
#EC8A98 #98EC8A #8A98EC
tetradic
#EC8A98 #C9EC8A #8AECDE #AD8AEC
square
#EC8A98 #C9EC8A #8AECDE #AD8AEC
split-complementary
#EC8A98 #8AECAD #8AC9EC
monochromatic
#D8233D #E3556A #EC8A98 #F5BFC6 #FBE5E8

Accessibility & contrast

On white

2.43
#EC8A98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#EC8A98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A98
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A98#FFFFFF#000000##000000
##EC8A981.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9B98
Deuteranopia (green-blind)
#B4AE96
Tritanopia (blue-blind)
#FC808F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec8a98;
/* rgb */ color: rgb(236, 138, 152);
/* oklch */ color: oklch(74.1% 0.120 11.2);
Tailwind
colors: {
  custom: {
    50: '#f5adb6',
    500: '#ec8a98',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a98;
$custom-light: #f5adb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a98",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 152
  },
  "hsl": {
    "h": 351.429,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.12002,
    "h": 11.2
  },
  "luminance": 0.38277
}

Semantic roles & 50–950 ramp

primary
#EC8A98
secondary
#D9F2EF
accent
#D4B811
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC8A98

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

Preview Lab → · Contrast checker → · Palette generator →

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