#EC8978#EC8978

#EC8978 is a light, vivid red. Relative luminance 0.371; OKLCH L 73.2% C 0.124 H 30.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EC8978
RGBrgb(236, 137, 120)
HSLhsl(9, 75%, 70%)
HSVhsv(9, 49%, 93%)
CMYKcmyk(0%, 41.9%, 49.2%, 7.5%)
CIE-LABlab(67.34, 35.97, 25.53)
CIE-LCHlch(67.34, 44.11, 35.37°)
OKLaboklab(73.21% 0.107 0.0634)
OKLCHoklch(73.21% 0.124 30.7)
XYZxyz(46.9309, 37.0847, 22.4521)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8978 #78DBEC
analogous
#EC78A1 #EC8978 #ECC378
triadic
#EC8978 #78EC89 #8978EC
tetradic
#EC8978 #A1EC78 #78DBEC #C378EC
square
#EC8978 #A1EC78 #78DBEC #C378EC
split-complementary
#EC8978 #78ECC3 #78A1EC
monochromatic
#CD371D #E45A42 #EC8978 #F4B8AE #FBE7E3

Accessibility & contrast

On white

2.50
#EC8978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EC8978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8978
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8978#FFFFFF#000000##000000
##EC89781.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09776
Deuteranopia (green-blind)
#B8AC76
Tritanopia (blue-blind)
#FF7A85
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec8978;
/* rgb */ color: rgb(236, 137, 120);
/* oklch */ color: oklch(73.2% 0.124 30.7);
Tailwind
colors: {
  custom: {
    50: '#f6ac9f',
    500: '#ec8978',
    950: '#000000',
  },
}
SCSS
$custom: #ec8978;
$custom-light: #f6ac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8978",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 120
  },
  "hsl": {
    "h": 8.793,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.12435,
    "h": 30.7
  },
  "luminance": 0.3708
}

Semantic roles & 50–950 ramp

primary
#EC8978
secondary
#D0EBF0
accent
#BAD70E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100E
muted
#867F7E

Preview Lab

Preview with #EC8978

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

Preview Lab → · Contrast checker → · Palette generator →

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