#F04871#F04871
#F04871 is a light, highly saturated red. Relative luminance 0.244; OKLCH L 65.1% C 0.204 H 10.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F04871 |
|---|---|
| RGB | rgb(240, 72, 113) |
| HSL | hsl(345, 85%, 61%) |
| HSV | hsv(345, 70%, 94%) |
| CMYK | cmyk(0%, 70%, 52.9%, 5.9%) |
| CIE-LAB | lab(56.44, 66.26, 14.83) |
| CIE-LCH | lch(56.44, 67.90, 12.62°) |
| OKLab | oklab(65.06% 0.2008 0.0376) |
| OKLCH | oklch(65.06% 0.204 10.6) |
| XYZ | xyz(41.2369, 24.3579, 18.1497) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Warm Pink
#FB5581
ΔE00 3.93
Blush
#DE5D83
ΔE00 5.42
Cherry
#DE3163
ΔE00 6.03
Strawberry
#FC5A8D
ΔE00 6.10
Rose (survey)
#CF6275
ΔE00 6.21
Red Pink
#FA2A55
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F04871 #48F0C7
analogous
#F048C5 #F04871 #F07348
triadic
#F04871 #71F048 #4871F0
tetradic
#F04871 #C5F048 #48F0C7 #7348F0
square
#F04871 #C5F048 #48F0C7 #7348F0
split-complementary
#F04871 #48F073 #48C5F0
monochromatic
#AF0E36 #E81347 #F04871 #F5819D #F9B9C9
Accessibility & contrast
On white
3.58
#F04871 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#F04871 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F04871
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F04871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F04871 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#9D946D
Tritanopia (blue-blind)
#FF2259
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #f04871; /* rgb */ color: rgb(240, 72, 113); /* oklch */ color: oklch(65.1% 0.204 10.6);
Tailwind
colors: {
custom: {
50: '#fc8699',
500: '#f04871',
950: '#000000',
},
}SCSS
$custom: #f04871; $custom-light: #fc8699; $custom-dark: #000000;
JSON
{
"hex": "#f04871",
"rgb": {
"r": 240,
"g": 72,
"b": 113
},
"hsl": {
"h": 345.357,
"s": 84.848,
"l": 61.176
},
"oklch": {
"l": 0.6506,
"c": 0.2043,
"h": 10.6
},
"luminance": 0.24352
}Semantic roles & 50–950 ramp
primary
#F04871
secondary
#AAE9DA
accent
#E1AB04
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0D
muted
#877D7E