#EC7977#EC7977

#EC7977 is a light, vivid red. Relative luminance 0.328; OKLCH L 70.7% C 0.142 H 22.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#EC7977
RGBrgb(236, 121, 119)
HSLhsl(1, 75%, 70%)
HSVhsv(1, 50%, 93%)
CMYKcmyk(0%, 48.7%, 49.6%, 7.5%)
CIE-LABlab(64.03, 44.03, 21.65)
CIE-LCHlch(64.03, 49.07, 26.18°)
OKLaboklab(70.68% 0.1317 0.0542)
OKLCHoklch(70.68% 0.142 22.4)
XYZxyz(44.7623, 32.8443, 21.4314)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7977 #77EAEC
analogous
#EC77AF #EC7977 #ECB477
triadic
#EC7977 #77EC79 #7977EC
tetradic
#EC7977 #AFEC77 #77EAEC #B477EC
square
#EC7977 #AFEC77 #77EAEC #B477EC
split-complementary
#EC7977 #77ECB4 #77AFEC
monochromatic
#CC201D #E44441 #EC7977 #F4AEAD #FBE3E2

Accessibility & contrast

On white

2.77
#EC7977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#EC7977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7977
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7977#FFFFFF#000000##000000
##EC79771.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938D76
Deuteranopia (green-blind)
#AFA475
Tritanopia (blue-blind)
#FF6879
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec7977;
/* rgb */ color: rgb(236, 121, 119);
/* oklch */ color: oklch(70.7% 0.142 22.4);
Tailwind
colors: {
  custom: {
    50: '#f7a29e',
    500: '#ec7977',
    950: '#000000',
  },
}
SCSS
$custom: #ec7977;
$custom-light: #f7a29e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7977",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 119
  },
  "hsl": {
    "h": 1.026,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70681,
    "c": 0.14246,
    "h": 22.4
  },
  "luminance": 0.3284
}

Semantic roles & 50–950 ramp

primary
#EC7977
secondary
#CFF0F0
accent
#D4D80E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC7977

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

Preview Lab → · Contrast checker → · Palette generator →

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