#EC978B#EC978B

#EC978B is a light, moderate red. Relative luminance 0.418; OKLCH L 75.9% C 0.105 H 28.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EC978B
RGBrgb(236, 151, 139)
HSLhsl(7, 72%, 74%)
HSVhsv(7, 41%, 93%)
CMYKcmyk(0%, 36%, 41.1%, 7.5%)
CIE-LABlab(70.76, 30.54, 19.66)
CIE-LCHlch(70.76, 36.32, 32.77°)
OKLaboklab(75.95% 0.092 0.0499)
OKLCHoklch(75.95% 0.105 28.5)
XYZxyz(50.3213, 41.8342, 29.8456)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC978B #8BE0EC
analogous
#EC8BAF #EC978B #ECC78B
triadic
#EC978B #8BEC97 #978BEC
tetradic
#EC978B #AFEC8B #8BE0EC #C78BEC
square
#EC978B #AFEC8B #8BE0EC #C78BEC
split-complementary
#EC978B #8BECC7 #8BAFEC
monochromatic
#D93A24 #E36856 #EC978B #F5C6C0 #FBE7E5

Accessibility & contrast

On white

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

On black

9.37
#EC978B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC978B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC978B#FFFFFF#000000##000000
##EC978B1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA38A
Deuteranopia (green-blind)
#BEB48A
Tritanopia (blue-blind)
#FD8C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec978b;
/* rgb */ color: rgb(236, 151, 139);
/* oklch */ color: oklch(75.9% 0.105 28.5);
Tailwind
colors: {
  custom: {
    50: '#f5b6ad',
    500: '#ec978b',
    950: '#000000',
  },
}
SCSS
$custom: #ec978b;
$custom-light: #f5b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec978b",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 7.423,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75948,
    "c": 0.1047,
    "h": 28.5
  },
  "luminance": 0.4183
}

Semantic roles & 50–950 ramp

primary
#EC978B
secondary
#D9EFF2
accent
#BCD412
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC978B

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

Preview Lab → · Contrast checker → · Palette generator →

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