#F5787F#F5787F
#F5787F is a light, vivid red. Relative luminance 0.344; OKLCH L 71.9% C 0.153 H 18.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F5787F |
|---|---|
| RGB | rgb(245, 120, 127) |
| HSL | hsl(357, 86%, 72%) |
| HSV | hsv(357, 51%, 96%) |
| CMYK | cmyk(0%, 51%, 48.2%, 3.9%) |
| CIE-LAB | lab(65.27, 48.46, 19.01) |
| CIE-LCH | lch(65.27, 52.06, 21.42°) |
| OKLab | oklab(71.92% 0.1457 0.0481) |
| OKLCH | oklch(71.92% 0.153 18.3) |
| XYZ | xyz(48.2068, 34.3830, 24.1724) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 2.35
Salmon Pink
#FE7B7C
ΔE00 2.60
Blush Pink
#FE828C
ΔE00 3.03
Carnation
#FD798F
ΔE00 4.37
Watermelon
#FC6C85
ΔE00 4.38
Coral Pink
#FF6163
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5787F #78F5EE
analogous
#F578BE #F5787F #F5B078
triadic
#F5787F #7FF578 #787FF5
tetradic
#F5787F #BEF578 #78F5EE #B078F5
square
#F5787F #BEF578 #78F5EE #B078F5
split-complementary
#F5787F #78F5B0 #78BEF5
monochromatic
#E2111C #F13F49 #F5787F #F9B1B5 #FDE3E4
Accessibility & contrast
On white
2.67
#F5787F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#F5787F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5787F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5787F | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938F7F
Deuteranopia (green-blind)
#B3A87C
Tritanopia (blue-blind)
#FF677B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f5787f; /* rgb */ color: rgb(245, 120, 127); /* oklch */ color: oklch(71.9% 0.153 18.3);
Tailwind
colors: {
custom: {
50: '#fda2a4',
500: '#f5787f',
950: '#000000',
},
}SCSS
$custom: #f5787f; $custom-light: #fda2a4; $custom-dark: #000000;
JSON
{
"hex": "#f5787f",
"rgb": {
"r": 245,
"g": 120,
"b": 127
},
"hsl": {
"h": 356.64,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.71922,
"c": 0.15341,
"h": 18.3
},
"luminance": 0.34378
}Semantic roles & 50–950 ramp
primary
#F5787F
secondary
#D4F4F3
accent
#E3D603
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F0F
muted
#867F7F