#EC978D#EC978D

#EC978D is a light, moderate red. Relative luminance 0.419; OKLCH L 76.0% C 0.104 H 27.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#EC978D
RGBrgb(236, 151, 141)
HSLhsl(6, 71%, 74%)
HSVhsv(6, 40%, 93%)
CMYKcmyk(0%, 36%, 40.3%, 7.5%)
CIE-LABlab(70.80, 30.76, 18.61)
CIE-LCHlch(70.80, 35.95, 31.18°)
OKLaboklab(75.99% 0.0928 0.0474)
OKLCHoklch(75.99% 0.104 27.1)
XYZxyz(50.4687, 41.8931, 30.6222)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC978D #8DE2EC
analogous
#EC8DB3 #EC978D #ECC78D
triadic
#EC978D #8DEC97 #978DEC
tetradic
#EC978D #B3EC8D #8DE2EC #C78DEC
square
#EC978D #B3EC8D #8DE2EC #C78DEC
split-complementary
#EC978D #8DECC7 #8DB3EC
monochromatic
#DA3824 #E36759 #EC978D #F5C7C1 #FBE7E5

Accessibility & contrast

On white

2.24
#EC978D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#EC978D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC978D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC978D#FFFFFF#000000##000000
##EC978D1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A38C
Deuteranopia (green-blind)
#BEB48C
Tritanopia (blue-blind)
#FD8C95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec978d;
/* rgb */ color: rgb(236, 151, 141);
/* oklch */ color: oklch(76.0% 0.104 27.1);
Tailwind
colors: {
  custom: {
    50: '#f5b6ae',
    500: '#ec978d',
    950: '#000000',
  },
}
SCSS
$custom: #ec978d;
$custom-light: #f5b6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec978d",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 141
  },
  "hsl": {
    "h": 6.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75993,
    "c": 0.10422,
    "h": 27.1
  },
  "luminance": 0.41889
}

Semantic roles & 50–950 ramp

primary
#EC978D
secondary
#D9F0F2
accent
#BFD312
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC978D

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

Preview Lab → · Contrast checker → · Palette generator →

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