#F0717D#F0717D
#F0717D is a light, vivid red. Relative luminance 0.318; OKLCH L 70.2% C 0.157 H 16.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F0717D |
|---|---|
| RGB | rgb(240, 113, 125) |
| HSL | hsl(354, 81%, 69%) |
| HSV | hsv(354, 53%, 94%) |
| CMYK | cmyk(0%, 52.9%, 47.9%, 5.9%) |
| CIE-LAB | lab(63.19, 49.91, 17.19) |
| CIE-LCH | lch(63.19, 52.78, 19.00°) |
| OKLab | oklab(70.2% 0.1504 0.0436) |
| OKLCH | oklch(70.2% 0.157 16.2) |
| XYZ | xyz(45.5452, 31.8212, 23.1417) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Watermelon
#FC6C85
ΔE00 3.20
Lightcoral
#F08080
ΔE00 4.15
Carnation
#FD798F
ΔE00 4.21
Blush Pink
#FE828C
ΔE00 4.52
Salmon Pink
#FE7B7C
ΔE00 4.60
Rosy Pink
#F6688E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0717D #71F0E4
analogous
#F071BD #F0717D #F0A571
triadic
#F0717D #7DF071 #717DF0
tetradic
#F0717D #BDF071 #71F0E4 #A571F0
square
#F0717D #BDF071 #71F0E4 #A571F0
split-complementary
#F0717D #71F0A5 #71BDF0
monochromatic
#D11628 #EA3A4A #F0717D #F6A8B0 #FCE0E2
Accessibility & contrast
On white
2.85
#F0717D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#F0717D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0717D
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0717D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0717D | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D897D
Deuteranopia (green-blind)
#ADA37A
Tritanopia (blue-blind)
#FF5F76
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #f0717d; /* rgb */ color: rgb(240, 113, 125); /* oklch */ color: oklch(70.2% 0.157 16.2);
Tailwind
colors: {
custom: {
50: '#fa9da2',
500: '#f0717d',
950: '#000000',
},
}SCSS
$custom: #f0717d; $custom-light: #fa9da2; $custom-dark: #000000;
JSON
{
"hex": "#f0717d",
"rgb": {
"r": 240,
"g": 113,
"b": 125
},
"hsl": {
"h": 354.331,
"s": 80.892,
"l": 69.216
},
"oklch": {
"l": 0.70199,
"c": 0.15656,
"h": 16.2
},
"luminance": 0.31816
}Semantic roles & 50–950 ramp
primary
#F0717D
secondary
#CCF1ED
accent
#DDC908
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180F0F
muted
#867E7E