#F5797D#F5797D
#F5797D is a light, vivid red. Relative luminance 0.346; OKLCH L 72.0% C 0.152 H 19.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #F5797D |
|---|---|
| RGB | rgb(245, 121, 125) |
| HSL | hsl(358, 86%, 72%) |
| HSV | hsv(358, 51%, 96%) |
| CMYK | cmyk(0%, 50.6%, 49%, 3.9%) |
| CIE-LAB | lab(65.41, 47.79, 20.35) |
| CIE-LCH | lch(65.41, 51.94, 23.06°) |
| OKLab | oklab(72.02% 0.1434 0.0512) |
| OKLCH | oklch(72.02% 0.152 19.6) |
| XYZ | xyz(48.1986, 34.5731, 23.5331) |
| Luminance | 0.3457 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 1.80
Salmon Pink
#FE7B7C
ΔE00 1.95
Blush Pink
#FE828C
ΔE00 3.36
Carnation
#FD798F
ΔE00 5.17
Watermelon
#FC6C85
ΔE00 5.21
Salmon
#FA8072
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5797D #79F5F1
analogous
#F579BB #F5797D #F5B379
triadic
#F5797D #7DF579 #797DF5
tetradic
#F5797D #BBF579 #79F5F1 #B379F5
square
#F5797D #BBF579 #79F5F1 #B379F5
split-complementary
#F5797D #79F5B3 #79BBF5
monochromatic
#E31118 #F14046 #F5797D #F9B2B4 #FDE3E3
Accessibility & contrast
On white
2.65
#F5797D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#F5797D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5797D
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5797D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5797D | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948F7C
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f5797d; /* rgb */ color: rgb(245, 121, 125); /* oklch */ color: oklch(72.0% 0.152 19.6);
Tailwind
colors: {
custom: {
50: '#fda3a2',
500: '#f5797d',
950: '#000000',
},
}SCSS
$custom: #f5797d; $custom-light: #fda3a2; $custom-dark: #000000;
JSON
{
"hex": "#f5797d",
"rgb": {
"r": 245,
"g": 121,
"b": 125
},
"hsl": {
"h": 358.065,
"s": 86.111,
"l": 71.765
},
"oklch": {
"l": 0.72022,
"c": 0.15228,
"h": 19.6
},
"luminance": 0.34568
}Semantic roles & 50–950 ramp
primary
#F5797D
secondary
#D5F5F4
accent
#E3DB03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E