#F5797B#F5797B
#F5797B is a light, vivid red. Relative luminance 0.345; OKLCH L 72.0% C 0.152 H 20.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F5797B |
|---|---|
| RGB | rgb(245, 121, 123) |
| HSL | hsl(359, 86%, 72%) |
| HSV | hsv(359, 51%, 96%) |
| CMYK | cmyk(0%, 50.6%, 49.8%, 3.9%) |
| CIE-LAB | lab(65.38, 47.62, 21.42) |
| CIE-LCH | lch(65.38, 52.21, 24.22°) |
| OKLab | oklab(71.98% 0.1426 0.0537) |
| OKLCH | oklch(71.98% 0.152 20.6) |
| XYZ | xyz(48.0722, 34.5225, 22.8670) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 1.66
Lightcoral
#F08080
ΔE00 1.72
Blush Pink
#FE828C
ΔE00 3.80
Salmon
#FA8072
ΔE00 5.02
Salmon (survey)
#FF796C
ΔE00 5.12
Coral Pink
#FF6163
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5797B #79F5F3
analogous
#F579B9 #F5797B #F5B579
triadic
#F5797B #7BF579 #797BF5
tetradic
#F5797B #B9F579 #79F5F3 #B579F5
square
#F5797B #B9F579 #79F5F3 #B579F5
split-complementary
#F5797B #79F5B5 #79B9F5
monochromatic
#E31114 #F14043 #F5797B #F9B2B3 #FDE3E3
Accessibility & contrast
On white
2.66
#F5797B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#F5797B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5797B
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5797B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5797B | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958F7A
Deuteranopia (green-blind)
#B4A878
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f5797b; /* rgb */ color: rgb(245, 121, 123); /* oklch */ color: oklch(72.0% 0.152 20.6);
Tailwind
colors: {
custom: {
50: '#fda3a1',
500: '#f5797b',
950: '#000000',
},
}SCSS
$custom: #f5797b; $custom-light: #fda3a1; $custom-dark: #000000;
JSON
{
"hex": "#f5797b",
"rgb": {
"r": 245,
"g": 121,
"b": 123
},
"hsl": {
"h": 359.032,
"s": 86.111,
"l": 71.765
},
"oklch": {
"l": 0.71979,
"c": 0.15242,
"h": 20.6
},
"luminance": 0.34517
}Semantic roles & 50–950 ramp
primary
#F5797B
secondary
#D5F5F4
accent
#E3DF03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E