#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 |
|---|---|
| RGB | rgb(239, 121, 140) |
| HSL | hsl(350, 79%, 71%) |
| HSV | hsv(350, 49%, 94%) |
| CMYK | cmyk(0%, 49.4%, 41.4%, 6.3%) |
| CIE-LAB | lab(64.90, 47.15, 11.00) |
| CIE-LCH | lch(64.90, 48.42, 13.13°) |
| OKLab | oklab(71.57% 0.1429 0.0287) |
| OKLCH | oklch(71.57% 0.146 11.3) |
| XYZ | xyz(47.1704, 33.9236, 28.8696) |
| Luminance | 0.3392 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 2.31
Watermelon
#FC6C85
ΔE00 3.13
Rose Pink
#F7879A
ΔE00 3.55
Blush Pink
#FE828C
ΔE00 4.30
Rosy Pink
#F6688E
ΔE00 4.44
Rosa
#FE86A4
ΔE00 5.27
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 |
|---|---|---|---|---|
| ##EF798C | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.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