#EB978C#EB978C

#EB978C is a light, moderate red. Relative luminance 0.417; OKLCH L 75.9% C 0.103 H 27.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#EB978C
RGBrgb(235, 151, 140)
HSLhsl(7, 70%, 74%)
HSVhsv(7, 40%, 92%)
CMYKcmyk(0%, 35.7%, 40.4%, 7.8%)
CIE-LABlab(70.66, 30.27, 18.96)
CIE-LCHlch(70.66, 35.72, 32.06°)
OKLaboklab(75.85% 0.0913 0.0482)
OKLCHoklch(75.85% 0.103 27.8)
XYZxyz(50.0635, 41.6928, 30.2166)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB978C #8CE0EB
analogous
#EB8CB0 #EB978C #EBC68C
triadic
#EB978C #8CEB97 #978CEB
tetradic
#EB978C #B0EB8C #8CE0EB #C68CEB
square
#EB978C #B0EB8C #8CE0EB #C68CEB
split-complementary
#EB978C #8CEBC6 #8CB0EB
monochromatic
#D73A25 #E26858 #EB978C #F4C6C0 #FAE7E5

Accessibility & contrast

On white

2.25
#EB978C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#EB978C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB978C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB978C#FFFFFF#000000##000000
##EB978C1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A38B
Deuteranopia (green-blind)
#BDB38B
Tritanopia (blue-blind)
#FC8C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb978c;
/* rgb */ color: rgb(235, 151, 140);
/* oklch */ color: oklch(75.9% 0.103 27.8);
Tailwind
colors: {
  custom: {
    50: '#f4b6ad',
    500: '#eb978c',
    950: '#000000',
  },
}
SCSS
$custom: #eb978c;
$custom-light: #f4b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#eb978c",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 6.947,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75854,
    "c": 0.10327,
    "h": 27.8
  },
  "luminance": 0.41689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB978C

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

Preview Lab → · Contrast checker → · Palette generator →

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