#EF978F#EF978F

#EF978F is a light, moderate red. Relative luminance 0.425; OKLCH L 76.4% C 0.107 H 25.5°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#EF978F
RGBrgb(239, 151, 143)
HSLhsl(5, 75%, 75%)
HSVhsv(5, 40%, 94%)
CMYKcmyk(0%, 36.8%, 40.2%, 6.3%)
CIE-LABlab(71.19, 32.11, 18.12)
CIE-LCHlch(71.19, 36.87, 29.43°)
OKLaboklab(76.39% 0.0969 0.0462)
OKLCHoklch(76.39% 0.107 25.5)
XYZxyz(51.6235, 42.4712, 31.4601)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF978F #8FE7EF
analogous
#EF8FB7 #EF978F #EFC78F
triadic
#EF978F #8FEF97 #978FEF
tetradic
#EF978F #B7EF8F #8FE7EF #C78FEF
square
#EF978F #B7EF8F #8FE7EF #C78FEF
split-complementary
#EF978F #8FEFC7 #8FB7EF
monochromatic
#E03424 #E76559 #EF978F #F7C9C5 #FBE6E4

Accessibility & contrast

On white

2.21
#EF978F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#EF978F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF978F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF978F#FFFFFF#000000##000000
##EF978F1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA48E
Deuteranopia (green-blind)
#BFB58E
Tritanopia (blue-blind)
#FF8C95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef978f;
/* rgb */ color: rgb(239, 151, 143);
/* oklch */ color: oklch(76.4% 0.107 25.5);
Tailwind
colors: {
  custom: {
    50: '#f7b6af',
    500: '#ef978f',
    950: '#000000',
  },
}
SCSS
$custom: #ef978f;
$custom-light: #f7b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#ef978f",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.10737,
    "h": 25.5
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#EF978F
secondary
#D8F1F3
accent
#C6D70E
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EF978F

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

Preview Lab → · Contrast checker → · Palette generator →

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