#EF798A#EF798A
#EF798A is a light, vivid red. Relative luminance 0.339; OKLCH L 71.5% C 0.146 H 12.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #EF798A |
|---|---|
| RGB | rgb(239, 121, 138) |
| HSL | hsl(351, 79%, 71%) |
| HSV | hsv(351, 49%, 94%) |
| CMYK | cmyk(0%, 49.4%, 42.3%, 6.3%) |
| CIE-LAB | lab(64.86, 46.94, 12.07) |
| CIE-LCH | lch(64.86, 48.47, 14.42°) |
| OKLab | oklab(71.52% 0.1421 0.0313) |
| OKLCH | oklch(71.52% 0.146 12.4) |
| XYZ | xyz(47.0242, 33.8652, 28.1000) |
| Luminance | 0.3386 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 2.38
Watermelon
#FC6C85
ΔE00 3.07
Rose Pink
#F7879A
ΔE00 3.75
Blush Pink
#FE828C
ΔE00 3.93
Rosy Pink
#F6688E
ΔE00 4.87
Lightcoral
#F08080
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF798A #79EFDE
analogous
#EF79C5 #EF798A #EFA379
triadic
#EF798A #8AEF79 #798AEF
tetradic
#EF798A #C5EF79 #79EFDE #A379EF
square
#EF798A #C5EF79 #79EFDE #A379EF
split-complementary
#EF798A #79EFA3 #79C5EF
monochromatic
#D41934 #E8425A #EF798A #F6B0BA #FCE4E7
Accessibility & contrast
On white
2.70
#EF798A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#EF798A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF798A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF798A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF798A | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908F8A
Deuteranopia (green-blind)
#AEA688
Tritanopia (blue-blind)
#FF6B7F
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ef798a; /* rgb */ color: rgb(239, 121, 138); /* oklch */ color: oklch(71.5% 0.146 12.4);
Tailwind
colors: {
custom: {
50: '#f8a2ac',
500: '#ef798a',
950: '#000000',
},
}SCSS
$custom: #ef798a; $custom-light: #f8a2ac; $custom-dark: #000000;
JSON
{
"hex": "#ef798a",
"rgb": {
"r": 239,
"g": 121,
"b": 138
},
"hsl": {
"h": 351.356,
"s": 78.667,
"l": 70.588
},
"oklch": {
"l": 0.7152,
"c": 0.14555,
"h": 12.4
},
"luminance": 0.3386
}Semantic roles & 50–950 ramp
primary
#EF798A
secondary
#D2F2ED
accent
#DBBD0B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F