#EF978C#EF978C

#EF978C is a light, moderate red. Relative luminance 0.424; OKLCH L 76.3% C 0.108 H 27.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#EF978C
RGBrgb(239, 151, 140)
HSLhsl(7, 76%, 74%)
HSVhsv(7, 41%, 94%)
CMYKcmyk(0%, 36.8%, 41.4%, 6.3%)
CIE-LABlab(71.13, 31.78, 19.69)
CIE-LCHlch(71.13, 37.39, 31.77°)
OKLaboklab(76.32% 0.0957 0.05)
OKLCHoklch(76.32% 0.108 27.6)
XYZxyz(51.3993, 42.3815, 30.2792)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF978C #8CE4EF
analogous
#EF8CB3 #EF978C #EFC98C
triadic
#EF978C #8CEF97 #978CEF
tetradic
#EF978C #B3EF8C #8CE4EF #C98CEF
square
#EF978C #B3EF8C #8CE4EF #C98CEF
split-complementary
#EF978C #8CEFC9 #8CB3EF
monochromatic
#E03621 #E86656 #EF978C #F6C8C2 #FBE7E4

Accessibility & contrast

On white

2.22
#EF978C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#EF978C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF978C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF978C#FFFFFF#000000##000000
##EF978C1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA38B
Deuteranopia (green-blind)
#BFB58B
Tritanopia (blue-blind)
#FF8B94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef978c;
/* rgb */ color: rgb(239, 151, 140);
/* oklch */ color: oklch(76.3% 0.108 27.6);
Tailwind
colors: {
  custom: {
    50: '#f7b6ad',
    500: '#ef978c',
    950: '#000000',
  },
}
SCSS
$custom: #ef978c;
$custom-light: #f7b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ef978c",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 6.667,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.10801,
    "h": 27.6
  },
  "luminance": 0.42377
}

Semantic roles & 50–950 ramp

primary
#EF978C
secondary
#D8F0F3
accent
#C1D80E
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#181110
muted
#86807F

Preview Lab

Preview with #EF978C

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

Preview Lab → · Contrast checker → · Palette generator →

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