#EF797E#EF797E

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

Color values

HEX#EF797E
RGBrgb(239, 121, 126)
HSLhsl(357, 79%, 71%)
HSVhsv(357, 49%, 94%)
CMYKcmyk(0%, 49.4%, 47.3%, 6.3%)
CIE-LABlab(64.59, 45.76, 18.52)
CIE-LCHlch(64.59, 49.36, 22.04°)
OKLaboklab(71.24% 0.1376 0.0469)
OKLCHoklch(71.24% 0.145 18.8)
XYZxyz(46.2030, 33.5367, 23.7746)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF797E #79EFEA
analogous
#EF79B9 #EF797E #EFAF79
triadic
#EF797E #7EEF79 #797EEF
tetradic
#EF797E #B9EF79 #79EFEA #AF79EF
square
#EF797E #B9EF79 #79EFEA #AF79EF
split-complementary
#EF797E #79EFAF #79B9EF
monochromatic
#D41921 #E84249 #EF797E #F6B0B3 #FCE4E5

Accessibility & contrast

On white

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

On black

7.71
#EF797E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF797E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF797E#FFFFFF#000000##000000
##EF797E1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ef797e;
/* rgb */ color: rgb(239, 121, 126);
/* oklch */ color: oklch(71.2% 0.145 18.8);
Tailwind
colors: {
  custom: {
    50: '#f8a2a3',
    500: '#ef797e',
    950: '#000000',
  },
}
SCSS
$custom: #ef797e;
$custom-light: #f8a2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef797e",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 357.458,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.14535,
    "h": 18.8
  },
  "luminance": 0.33532
}

Semantic roles & 50–950 ramp

primary
#EF797E
secondary
#D2F2F1
accent
#DBD20B
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EF797E

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

Preview Lab → · Contrast checker → · Palette generator →

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