#EC978A#EC978A

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

Color values

HEX#EC978A
RGBrgb(236, 151, 138)
HSLhsl(8, 72%, 73%)
HSVhsv(8, 42%, 93%)
CMYKcmyk(0%, 36%, 41.5%, 7.5%)
CIE-LABlab(70.74, 30.43, 20.19)
CIE-LCHlch(70.74, 36.52, 33.56°)
OKLaboklab(75.93% 0.0916 0.0512)
OKLCHoklch(75.93% 0.105 29.2)
XYZxyz(50.2485, 41.8051, 29.4625)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC978A #8ADFEC
analogous
#EC8AAE #EC978A #ECC88A
triadic
#EC978A #8AEC97 #978AEC
tetradic
#EC978A #AEEC8A #8ADFEC #C88AEC
square
#EC978A #AEEC8A #8ADFEC #C88AEC
split-complementary
#EC978A #8AECC8 #8AAEEC
monochromatic
#D83B23 #E36855 #EC978A #F5C6BF #FBE8E5

Accessibility & contrast

On white

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

On black

9.36
#EC978A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC978A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC978A#FFFFFF#000000##000000
##EC978A1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA389
Deuteranopia (green-blind)
#BEB489
Tritanopia (blue-blind)
#FD8B94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec978a;
/* rgb */ color: rgb(236, 151, 138);
/* oklch */ color: oklch(75.9% 0.105 29.2);
Tailwind
colors: {
  custom: {
    50: '#f5b6ac',
    500: '#ec978a',
    950: '#000000',
  },
}
SCSS
$custom: #ec978a;
$custom-light: #f5b6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec978a",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 138
  },
  "hsl": {
    "h": 7.959,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.10495,
    "h": 29.2
  },
  "luminance": 0.41801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC978A

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

Preview Lab → · Contrast checker → · Palette generator →

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