#EF797F#EF797F

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

Color values

HEX#EF797F
RGBrgb(239, 121, 127)
HSLhsl(357, 79%, 71%)
HSVhsv(357, 49%, 94%)
CMYKcmyk(0%, 49.4%, 46.9%, 6.3%)
CIE-LABlab(64.61, 45.85, 17.98)
CIE-LCHlch(64.61, 49.25, 21.41°)
OKLaboklab(71.26% 0.138 0.0456)
OKLCHoklch(71.26% 0.145 18.3)
XYZxyz(46.2678, 33.5626, 24.1162)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF797F #79EFE9
analogous
#EF79BA #EF797F #EFAE79
triadic
#EF797F #7FEF79 #797FEF
tetradic
#EF797F #BAEF79 #79EFE9 #AE79EF
square
#EF797F #BAEF79 #79EFE9 #AE79EF
split-complementary
#EF797F #79EFAE #79BAEF
monochromatic
#D41923 #E8424B #EF797F #F6B0B3 #FCE4E5

Accessibility & contrast

On white

2.72
#EF797F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EF797F#FFFFFF#000000##000000
##EF797F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E7F
Deuteranopia (green-blind)
#B0A67D
Tritanopia (blue-blind)
#FF697C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef797f;
/* rgb */ color: rgb(239, 121, 127);
/* oklch */ color: oklch(71.3% 0.145 18.3);
Tailwind
colors: {
  custom: {
    50: '#f8a2a4',
    500: '#ef797f',
    950: '#000000',
  },
}
SCSS
$custom: #ef797f;
$custom-light: #f8a2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef797f",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.949,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71258,
    "c": 0.1453,
    "h": 18.3
  },
  "luminance": 0.33558
}

Semantic roles & 50–950 ramp

primary
#EF797F
secondary
#D2F2F0
accent
#DBD00B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F

Preview Lab

Preview with #EF797F

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

Preview Lab → · Contrast checker → · Palette generator →

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