#EC7978#EC7978

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

Color values

HEX#EC7978
RGBrgb(236, 121, 120)
HSLhsl(1, 75%, 70%)
HSVhsv(1, 49%, 93%)
CMYKcmyk(0%, 48.7%, 49.2%, 7.5%)
CIE-LABlab(64.05, 44.12, 21.11)
CIE-LCHlch(64.05, 48.91, 25.57°)
OKLaboklab(70.7% 0.1321 0.053)
OKLCHoklch(70.7% 0.142 21.8)
XYZxyz(44.8227, 32.8684, 21.7494)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7978 #78EBEC
analogous
#EC78B1 #EC7978 #ECB378
triadic
#EC7978 #78EC79 #7978EC
tetradic
#EC7978 #B1EC78 #78EBEC #B378EC
square
#EC7978 #B1EC78 #78EBEC #B378EC
split-complementary
#EC7978 #78ECB3 #78B1EC
monochromatic
#CD1E1D #E44442 #EC7978 #F4AEAE #FBE4E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC7978#FFFFFF#000000##000000
##EC79781.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)
#938D77
Deuteranopia (green-blind)
#AFA476
Tritanopia (blue-blind)
#FF697A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec7978;
/* rgb */ color: rgb(236, 121, 120);
/* oklch */ color: oklch(70.7% 0.142 21.8);
Tailwind
colors: {
  custom: {
    50: '#f6a29f',
    500: '#ec7978',
    950: '#000000',
  },
}
SCSS
$custom: #ec7978;
$custom-light: #f6a29f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7978",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 120
  },
  "hsl": {
    "h": 0.517,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.14234,
    "h": 21.8
  },
  "luminance": 0.32864
}

Semantic roles & 50–950 ramp

primary
#EC7978
secondary
#D0F0F0
accent
#D6D70E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC7978

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

Preview Lab → · Contrast checker → · Palette generator →

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