#EC7988#EC7988

#EC7988 is a light, vivid red. Relative luminance 0.333; OKLCH L 71.1% C 0.142 H 13.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#EC7988
RGBrgb(236, 121, 136)
HSLhsl(352, 75%, 70%)
HSVhsv(352, 49%, 93%)
CMYKcmyk(0%, 48.7%, 42.4%, 7.5%)
CIE-LABlab(64.39, 45.68, 12.50)
CIE-LCHlch(64.39, 47.36, 15.31°)
OKLaboklab(71.07% 0.1383 0.0323)
OKLCHoklch(71.07% 0.142 13.2)
XYZxyz(45.8761, 33.2898, 27.2973)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7988 #79ECDD
analogous
#EC79C1 #EC7988 #ECA479
triadic
#EC7988 #88EC79 #7988EC
tetradic
#EC7988 #C1EC79 #79ECDD #A479EC
square
#EC7988 #C1EC79 #79ECDD #A479EC
split-complementary
#EC7988 #79ECA4 #79C1EC
monochromatic
#CD1D34 #E44358 #EC7988 #F4AFB8 #FBE4E7

Accessibility & contrast

On white

2.74
#EC7988 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#EC7988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7988
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7988#FFFFFF#000000##000000
##EC79881.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E88
Deuteranopia (green-blind)
#ADA586
Tritanopia (blue-blind)
#FE6C7F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7988;
/* rgb */ color: rgb(236, 121, 136);
/* oklch */ color: oklch(71.1% 0.142 13.2);
Tailwind
colors: {
  custom: {
    50: '#f6a2aa',
    500: '#ec7988',
    950: '#000000',
  },
}
SCSS
$custom: #ec7988;
$custom-light: #f6a2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7988",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 352.174,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.14199,
    "h": 13.2
  },
  "luminance": 0.33285
}

Semantic roles & 50–950 ramp

primary
#EC7988
secondary
#D0F0EC
accent
#D7BD0E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7988

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

Preview Lab → · Contrast checker → · Palette generator →

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