#EC978F#EC978F

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

Color values

HEX#EC978F
RGBrgb(236, 151, 143)
HSLhsl(5, 71%, 74%)
HSVhsv(5, 39%, 93%)
CMYKcmyk(0%, 36%, 39.4%, 7.5%)
CIE-LABlab(70.84, 30.98, 17.57)
CIE-LCHlch(70.84, 35.62, 29.56°)
OKLaboklab(76.04% 0.0936 0.0449)
OKLCHoklch(76.04% 0.104 25.6)
XYZxyz(50.6189, 41.9532, 31.4130)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC978F #8FE4EC
analogous
#EC8FB6 #EC978F #ECC68F
triadic
#EC978F #8FEC97 #978FEC
tetradic
#EC978F #B6EC8F #8FE4EC #C68FEC
square
#EC978F #B6EC8F #8FE4EC #C68FEC
split-complementary
#EC978F #8FECC6 #8FB6EC
monochromatic
#DA3626 #E3665B #EC978F #F5C8C3 #FBE7E5

Accessibility & contrast

On white

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

On black

9.39
#EC978F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC978F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC978F#FFFFFF#000000##000000
##EC978F1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec978f;
/* rgb */ color: rgb(236, 151, 143);
/* oklch */ color: oklch(76.0% 0.104 25.6);
Tailwind
colors: {
  custom: {
    50: '#f5b6af',
    500: '#ec978f',
    950: '#000000',
  },
}
SCSS
$custom: #ec978f;
$custom-light: #f5b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec978f",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 5.161,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76038,
    "c": 0.1038,
    "h": 25.6
  },
  "luminance": 0.41949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC978F

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

Preview Lab → · Contrast checker → · Palette generator →

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