#EC7989#EC7989

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

Color values

HEX#EC7989
RGBrgb(236, 121, 137)
HSLhsl(352, 75%, 70%)
HSVhsv(352, 49%, 93%)
CMYKcmyk(0%, 48.7%, 41.9%, 7.5%)
CIE-LABlab(64.42, 45.79, 11.96)
CIE-LCHlch(64.42, 47.32, 14.65°)
OKLaboklab(71.1% 0.1386 0.031)
OKLCHoklch(71.1% 0.142 12.6)
XYZxyz(45.9475, 33.3183, 27.6733)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7989 #79ECDC
analogous
#EC79C3 #EC7989 #ECA279
triadic
#EC7989 #89EC79 #7989EC
tetradic
#EC7989 #C3EC79 #79ECDC #A279EC
square
#EC7989 #C3EC79 #79ECDC #A279EC
split-complementary
#EC7989 #79ECA2 #79C3EC
monochromatic
#CD1D36 #E4435A #EC7989 #F4AFB8 #FBE4E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7989#FFFFFF#000000##000000
##EC79891.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)
#908E89
Deuteranopia (green-blind)
#ADA587
Tritanopia (blue-blind)
#FE6C7F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7989;
/* rgb */ color: rgb(236, 121, 137);
/* oklch */ color: oklch(71.1% 0.142 12.6);
Tailwind
colors: {
  custom: {
    50: '#f6a2ab',
    500: '#ec7989',
    950: '#000000',
  },
}
SCSS
$custom: #ec7989;
$custom-light: #f6a2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7989",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 137
  },
  "hsl": {
    "h": 351.652,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.14207,
    "h": 12.6
  },
  "luminance": 0.33314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7989

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

Preview Lab → · Contrast checker → · Palette generator →

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