#EF798A#EF798A

#EF798A is a light, vivid red. Relative luminance 0.339; OKLCH L 71.5% C 0.146 H 12.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EF798A
RGBrgb(239, 121, 138)
HSLhsl(351, 79%, 71%)
HSVhsv(351, 49%, 94%)
CMYKcmyk(0%, 49.4%, 42.3%, 6.3%)
CIE-LABlab(64.86, 46.94, 12.07)
CIE-LCHlch(64.86, 48.47, 14.42°)
OKLaboklab(71.52% 0.1421 0.0313)
OKLCHoklch(71.52% 0.146 12.4)
XYZxyz(47.0242, 33.8652, 28.1000)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF798A #79EFDE
analogous
#EF79C5 #EF798A #EFA379
triadic
#EF798A #8AEF79 #798AEF
tetradic
#EF798A #C5EF79 #79EFDE #A379EF
square
#EF798A #C5EF79 #79EFDE #A379EF
split-complementary
#EF798A #79EFA3 #79C5EF
monochromatic
#D41934 #E8425A #EF798A #F6B0BA #FCE4E7

Accessibility & contrast

On white

2.70
#EF798A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EF798A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF798A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF798A#FFFFFF#000000##000000
##EF798A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8A
Deuteranopia (green-blind)
#AEA688
Tritanopia (blue-blind)
#FF6B7F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef798a;
/* rgb */ color: rgb(239, 121, 138);
/* oklch */ color: oklch(71.5% 0.146 12.4);
Tailwind
colors: {
  custom: {
    50: '#f8a2ac',
    500: '#ef798a',
    950: '#000000',
  },
}
SCSS
$custom: #ef798a;
$custom-light: #f8a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ef798a",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 351.356,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.14555,
    "h": 12.4
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

primary
#EF798A
secondary
#D2F2ED
accent
#DBBD0B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EF798A

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

Preview Lab → · Contrast checker → · Palette generator →

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