#ED798B#ED798B
#ED798B is a light, vivid red. Relative luminance 0.335; OKLCH L 71.3% C 0.143 H 11.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #ED798B |
|---|---|
| RGB | rgb(237, 121, 139) |
| HSL | hsl(351, 76%, 70%) |
| HSV | hsv(351, 49%, 93%) |
| CMYK | cmyk(0%, 48.9%, 41.4%, 7.1%) |
| CIE-LAB | lab(64.60, 46.35, 11.11) |
| CIE-LCH | lch(64.60, 47.66, 13.48°) |
| OKLab | oklab(71.28% 0.1404 0.0289) |
| OKLCH | oklch(71.28% 0.143 11.6) |
| XYZ | xyz(46.4253, 33.5480, 28.4515) |
| Luminance | 0.3354 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carnation
#FD798F
ΔE00 2.65
Watermelon
#FC6C85
ΔE00 3.31
Rose Pink
#F7879A
ΔE00 3.76
Blush Pink
#FE828C
ΔE00 4.41
Rosy Pink
#F6688E
ΔE00 4.62
Lightcoral
#F08080
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED798B #79EDDB
analogous
#ED79C5 #ED798B #EDA179
triadic
#ED798B #8BED79 #798BED
tetradic
#ED798B #C5ED79 #79EDDB #A179ED
square
#ED798B #C5ED79 #79EDDB #A179ED
split-complementary
#ED798B #79EDA1 #79C5ED
monochromatic
#D01C38 #E6435C #ED798B #F4AFBA #FBE4E8
Accessibility & contrast
On white
2.72
#ED798B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#ED798B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED798B
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED798B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED798B | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908F8B
Deuteranopia (green-blind)
#ADA589
Tritanopia (blue-blind)
#FF6C80
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ed798b; /* rgb */ color: rgb(237, 121, 139); /* oklch */ color: oklch(71.3% 0.143 11.6);
Tailwind
colors: {
custom: {
50: '#f6a2ac',
500: '#ed798b',
950: '#000000',
},
}SCSS
$custom: #ed798b; $custom-light: #f6a2ac; $custom-dark: #000000;
JSON
{
"hex": "#ed798b",
"rgb": {
"r": 237,
"g": 121,
"b": 139
},
"hsl": {
"h": 350.69,
"s": 76.316,
"l": 70.196
},
"oklch": {
"l": 0.71279,
"c": 0.14337,
"h": 11.6
},
"luminance": 0.33543
}Semantic roles & 50–950 ramp
primary
#ED798B
secondary
#D1F1EC
accent
#D9B90D
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F