#EC8A97#EC8A97

#EC8A97 is a light, moderate red. Relative luminance 0.382; OKLCH L 74.1% C 0.120 H 11.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#EC8A97
RGBrgb(236, 138, 151)
HSLhsl(352, 72%, 73%)
HSVhsv(352, 42%, 93%)
CMYKcmyk(0%, 41.5%, 36%, 7.5%)
CIE-LABlab(68.20, 38.70, 9.41)
CIE-LCHlch(68.20, 39.83, 13.67°)
OKLaboklab(74.08% 0.1173 0.0247)
OKLCHoklch(74.08% 0.12 11.9)
XYZxyz(49.2687, 38.2483, 34.0600)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8A97 #8AECDF
analogous
#EC8AC8 #EC8A97 #ECAE8A
triadic
#EC8A97 #97EC8A #8A97EC
tetradic
#EC8A97 #C8EC8A #8AECDF #AE8AEC
square
#EC8A97 #C8EC8A #8AECDF #AE8AEC
split-complementary
#EC8A97 #8AECAE #8AC8EC
monochromatic
#D8233B #E35568 #EC8A97 #F5BFC6 #FBE5E8

Accessibility & contrast

On white

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

On black

8.65
#EC8A97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8A97
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8A97#FFFFFF#000000##000000
##EC8A971.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9B97
Deuteranopia (green-blind)
#B4AD95
Tritanopia (blue-blind)
#FD808F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec8a97;
/* rgb */ color: rgb(236, 138, 151);
/* oklch */ color: oklch(74.1% 0.120 11.9);
Tailwind
colors: {
  custom: {
    50: '#f5adb5',
    500: '#ec8a97',
    950: '#000000',
  },
}
SCSS
$custom: #ec8a97;
$custom-light: #f5adb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8a97",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 151
  },
  "hsl": {
    "h": 352.041,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.11992,
    "h": 11.9
  },
  "luminance": 0.38244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC8A97

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

Preview Lab → · Contrast checker → · Palette generator →

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