#ED798F#ED798F
#ED798F is a light, vivid red. Relative luminance 0.337; OKLCH L 71.4% C 0.144 H 9.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #ED798F |
|---|---|
| RGB | rgb(237, 121, 143) |
| HSL | hsl(349, 76%, 70%) |
| HSV | hsv(349, 49%, 93%) |
| CMYK | cmyk(0%, 48.9%, 39.7%, 7.1%) |
| CIE-LAB | lab(64.70, 46.78, 8.96) |
| CIE-LCH | lch(64.70, 47.63, 10.85°) |
| OKLab | oklab(71.38% 0.1419 0.0236) |
| OKLCH | oklch(71.38% 0.144 9.4) |
| XYZ | xyz(46.7230, 33.6670, 30.0190) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 2.88
Rose Pink
#F7879A
ΔE00 3.60
Watermelon
#FC6C85
ΔE00 3.68
Rosy Pink
#F6688E
ΔE00 3.91
Rosa
#FE86A4
ΔE00 4.83
Blush Pink
#FE828C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED798F #79EDD7
analogous
#ED79C9 #ED798F #ED9D79
triadic
#ED798F #8FED79 #798FED
tetradic
#ED798F #C9ED79 #79EDD7 #9D79ED
square
#ED798F #C9ED79 #79EDD7 #9D79ED
split-complementary
#ED798F #79ED9D #79C9ED
monochromatic
#D01C3E #E64362 #ED798F #F4AFBC #FBE4E8
Accessibility & contrast
On white
2.72
#ED798F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#ED798F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED798F
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED798F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED798F | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8F8F
Deuteranopia (green-blind)
#ACA68D
Tritanopia (blue-blind)
#FF6D81
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ed798f; /* rgb */ color: rgb(237, 121, 143); /* oklch */ color: oklch(71.4% 0.144 9.4);
Tailwind
colors: {
custom: {
50: '#f6a2af',
500: '#ed798f',
950: '#000000',
},
}SCSS
$custom: #ed798f; $custom-light: #f6a2af; $custom-dark: #000000;
JSON
{
"hex": "#ed798f",
"rgb": {
"r": 237,
"g": 121,
"b": 143
},
"hsl": {
"h": 348.621,
"s": 76.316,
"l": 70.196
},
"oklch": {
"l": 0.71383,
"c": 0.14386,
"h": 9.4
},
"luminance": 0.33662
}Semantic roles & 50–950 ramp
primary
#ED798F
secondary
#D1F1EB
accent
#D9B20D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F