#EF798C#EF798C

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

Color values

HEX#EF798C
RGBrgb(239, 121, 140)
HSLhsl(350, 79%, 71%)
HSVhsv(350, 49%, 94%)
CMYKcmyk(0%, 49.4%, 41.4%, 6.3%)
CIE-LABlab(64.90, 47.15, 11.00)
CIE-LCHlch(64.90, 48.42, 13.13°)
OKLaboklab(71.57% 0.1429 0.0287)
OKLCHoklch(71.57% 0.146 11.3)
XYZxyz(47.1704, 33.9236, 28.8696)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF798C #79EFDC
analogous
#EF79C7 #EF798C #EFA179
triadic
#EF798C #8CEF79 #798CEF
tetradic
#EF798C #C7EF79 #79EFDC #A179EF
square
#EF798C #C7EF79 #79EFDC #A179EF
split-complementary
#EF798C #79EFA1 #79C7EF
monochromatic
#D41937 #E8425D #EF798C #F6B0BB #FCE4E8

Accessibility & contrast

On white

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

On black

7.78
#EF798C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF798C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF798C#FFFFFF#000000##000000
##EF798C1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908F8C
Deuteranopia (green-blind)
#AEA689
Tritanopia (blue-blind)
#FF6C80
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef798c;
/* rgb */ color: rgb(239, 121, 140);
/* oklch */ color: oklch(71.6% 0.146 11.3);
Tailwind
colors: {
  custom: {
    50: '#f8a2ad',
    500: '#ef798c',
    950: '#000000',
  },
}
SCSS
$custom: #ef798c;
$custom-light: #f8a2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ef798c",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 350.339,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.14573,
    "h": 11.3
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF798C

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

Preview Lab → · Contrast checker → · Palette generator →

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