#EF798F#EF798F

#EF798F is a light, vivid red. Relative luminance 0.340; OKLCH L 71.6% C 0.146 H 9.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EF798F
RGBrgb(239, 121, 143)
HSLhsl(349, 79%, 71%)
HSVhsv(349, 49%, 94%)
CMYKcmyk(0%, 49.4%, 40.2%, 6.3%)
CIE-LABlab(64.97, 47.47, 9.39)
CIE-LCHlch(64.97, 48.39, 11.19°)
OKLaboklab(71.65% 0.144 0.0246)
OKLCHoklch(71.65% 0.146 9.7)
XYZxyz(47.3946, 34.0133, 30.0505)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF798F #79EFD9
analogous
#EF79CA #EF798F #EF9E79
triadic
#EF798F #8FEF79 #798FEF
tetradic
#EF798F #CAEF79 #79EFD9 #9E79EF
square
#EF798F #CAEF79 #79EFD9 #9E79EF
split-complementary
#EF798F #79EF9E #79CAEF
monochromatic
#D4193C #E84261 #EF798F #F6B0BD #FCE4E8

Accessibility & contrast

On white

2.69
#EF798F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EF798F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF798F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF798F#FFFFFF#000000##000000
##EF798F1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8F
Deuteranopia (green-blind)
#ADA68C
Tritanopia (blue-blind)
#FF6C81
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ef798f;
/* rgb */ color: rgb(239, 121, 143);
/* oklch */ color: oklch(71.6% 0.146 9.7);
Tailwind
colors: {
  custom: {
    50: '#f8a2af',
    500: '#ef798f',
    950: '#000000',
  },
}
SCSS
$custom: #ef798f;
$custom-light: #f8a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#ef798f",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 348.814,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.1461,
    "h": 9.7
  },
  "luminance": 0.34009
}

Semantic roles & 50–950 ramp

primary
#EF798F
secondary
#D2F2EC
accent
#DBB40B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EF798F

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

Preview Lab → · Contrast checker → · Palette generator →

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