#F5787A#F5787A
#F5787A is a light, vivid red. Relative luminance 0.343; OKLCH L 71.8% C 0.154 H 20.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F5787A |
|---|---|
| RGB | rgb(245, 120, 122) |
| HSL | hsl(359, 86%, 72%) |
| HSV | hsv(359, 51%, 96%) |
| CMYK | cmyk(0%, 51%, 50.2%, 3.9%) |
| CIE-LAB | lab(65.17, 48.02, 21.70) |
| CIE-LCH | lch(65.17, 52.69, 24.32°) |
| OKLab | oklab(71.81% 0.1438 0.0543) |
| OKLCH | oklch(71.81% 0.154 20.7) |
| XYZ | xyz(47.8890, 34.2558, 22.4987) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Salmon Pink
#FE7B7C
ΔE00 1.73
Lightcoral
#F08080
ΔE00 1.92
Blush Pink
#FE828C
ΔE00 3.98
Salmon
#FA8072
ΔE00 5.02
Coral Pink
#FF6163
ΔE00 5.06
Salmon (survey)
#FF796C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5787A #78F5F3
analogous
#F578B9 #F5787A #F5B578
triadic
#F5787A #7AF578 #787AF5
tetradic
#F5787A #B9F578 #78F5F3 #B578F5
square
#F5787A #B9F578 #78F5F3 #B578F5
split-complementary
#F5787A #78F5B5 #78B9F5
monochromatic
#E21114 #F13F42 #F5787A #F9B1B2 #FDE3E3
Accessibility & contrast
On white
2.68
#F5787A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#F5787A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5787A
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5787A | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948E79
Deuteranopia (green-blind)
#B3A877
Tritanopia (blue-blind)
#FF667A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f5787a; /* rgb */ color: rgb(245, 120, 122); /* oklch */ color: oklch(71.8% 0.154 20.7);
Tailwind
colors: {
custom: {
50: '#fda2a0',
500: '#f5787a',
950: '#000000',
},
}SCSS
$custom: #f5787a; $custom-light: #fda2a0; $custom-dark: #000000;
JSON
{
"hex": "#f5787a",
"rgb": {
"r": 245,
"g": 120,
"b": 122
},
"hsl": {
"h": 359.04,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.71813,
"c": 0.1537,
"h": 20.7
},
"luminance": 0.34251
}Semantic roles & 50–950 ramp
primary
#F5787A
secondary
#D4F4F4
accent
#E3DF03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E