#F5787D#F5787D
#F5787D is a light, vivid red. Relative luminance 0.343; OKLCH L 71.9% C 0.153 H 19.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F5787D |
|---|---|
| RGB | rgb(245, 120, 125) |
| HSL | hsl(358, 86%, 72%) |
| HSV | hsv(358, 51%, 96%) |
| CMYK | cmyk(0%, 51%, 49%, 3.9%) |
| CIE-LAB | lab(65.22, 48.28, 20.09) |
| CIE-LCH | lch(65.22, 52.29, 22.59°) |
| OKLab | oklab(71.88% 0.1449 0.0506) |
| OKLCH | oklch(71.88% 0.153 19.2) |
| XYZ | xyz(48.0777, 34.3313, 23.4928) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.06
Salmon Pink
#FE7B7C
ΔE00 2.16
Blush Pink
#FE828C
ΔE00 3.36
Watermelon
#FC6C85
ΔE00 4.92
Carnation
#FD798F
ΔE00 4.97
Coral Pink
#FF6163
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5787D #78F5F0
analogous
#F578BC #F5787D #F5B278
triadic
#F5787D #7DF578 #787DF5
tetradic
#F5787D #BCF578 #78F5F0 #B278F5
square
#F5787D #BCF578 #78F5F0 #B278F5
split-complementary
#F5787D #78F5B2 #78BCF5
monochromatic
#E21119 #F13F46 #F5787D #F9B1B4 #FDE3E4
Accessibility & contrast
On white
2.67
#F5787D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#F5787D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5787D
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5787D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5787D | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948E7C
Deuteranopia (green-blind)
#B3A87A
Tritanopia (blue-blind)
#FF667B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f5787d; /* rgb */ color: rgb(245, 120, 125); /* oklch */ color: oklch(71.9% 0.153 19.2);
Tailwind
colors: {
custom: {
50: '#fda2a2',
500: '#f5787d',
950: '#000000',
},
}SCSS
$custom: #f5787d; $custom-light: #fda2a2; $custom-dark: #000000;
JSON
{
"hex": "#f5787d",
"rgb": {
"r": 245,
"g": 120,
"b": 125
},
"hsl": {
"h": 357.6,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.71878,
"c": 0.15349,
"h": 19.2
},
"luminance": 0.34326
}Semantic roles & 50–950 ramp
primary
#F5787D
secondary
#D4F4F3
accent
#E3DA03
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E