#EF797C#EF797C

#EF797C is a light, vivid red. Relative luminance 0.335; OKLCH L 71.2% C 0.145 H 19.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#EF797C
RGBrgb(239, 121, 124)
HSLhsl(358, 79%, 71%)
HSVhsv(358, 49%, 94%)
CMYKcmyk(0%, 49.4%, 48.1%, 6.3%)
CIE-LABlab(64.55, 45.57, 19.60)
CIE-LCHlch(64.55, 49.60, 23.27°)
OKLaboklab(71.19% 0.1368 0.0494)
OKLCHoklch(71.19% 0.145 19.9)
XYZxyz(46.0752, 33.4856, 23.1018)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF797C #79EFEC
analogous
#EF79B7 #EF797C #EFB179
triadic
#EF797C #7CEF79 #797CEF
tetradic
#EF797C #B7EF79 #79EFEC #B179EF
square
#EF797C #B7EF79 #79EFEC #B179EF
split-complementary
#EF797C #79EFB1 #79B7EF
monochromatic
#D4191E #E84247 #EF797C #F6B0B1 #FCE4E4

Accessibility & contrast

On white

2.73
#EF797C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#EF797C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF797C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF797C#FFFFFF#000000##000000
##EF797C1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#B0A67A
Tritanopia (blue-blind)
#FF697B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef797c;
/* rgb */ color: rgb(239, 121, 124);
/* oklch */ color: oklch(71.2% 0.145 19.9);
Tailwind
colors: {
  custom: {
    50: '#f9a2a1',
    500: '#ef797c',
    950: '#000000',
  },
}
SCSS
$custom: #ef797c;
$custom-light: #f9a2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ef797c",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 358.475,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.14546,
    "h": 19.9
  },
  "luminance": 0.33481
}

Semantic roles & 50–950 ramp

primary
#EF797C
secondary
#D2F2F1
accent
#DBD60B
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #EF797C

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

Preview Lab → · Contrast checker → · Palette generator →

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