#F871A2#F871A2
#F871A2 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.3% C 0.172 H 359.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F871A2 |
|---|---|
| RGB | rgb(248, 113, 162) |
| HSL | hsl(338, 91%, 71%) |
| HSV | hsv(338, 54%, 97%) |
| CMYK | cmyk(0%, 54.4%, 34.7%, 2.7%) |
| CIE-LAB | lab(65.26, 56.40, -0.85) |
| CIE-LCH | lch(65.26, 56.41, 359.14°) |
| OKLab | oklab(72.28% 0.1717 -0.0015) |
| OKLCH | oklch(72.28% 0.172 359.5) |
| XYZ | xyz(51.1408, 34.3805, 38.1182) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Carnation Pink
#FF7FA7
ΔE00 3.37
Medium Pink
#F36196
ΔE00 3.43
Bubble Gum Pink
#FF69AF
ΔE00 3.62
Rosy Pink
#F6688E
ΔE00 4.29
Bubblegum (survey)
#FF6CB5
ΔE00 4.49
Pinky
#FC86AA
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F871A2 #71F8C7
analogous
#F871E6 #F871A2 #F88371
triadic
#F871A2 #A2F871 #71A2F8
tetradic
#F871A2 #E6F871 #71F8C7 #8371F8
square
#F871A2 #E6F871 #71F8C7 #8371F8
split-complementary
#F871A2 #71F883 #71E6F8
monochromatic
#E30B5A #F5377C #F871A2 #FBABC8 #FEE2EC
Accessibility & contrast
On white
2.67
#F871A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#F871A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F871A2
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F871A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F871A2 | 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)
#878FA3
Deuteranopia (green-blind)
#AAA89F
Tritanopia (blue-blind)
#FF6683
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f871a2; /* rgb */ color: rgb(248, 113, 162); /* oklch */ color: oklch(72.3% 0.172 359.5);
Tailwind
colors: {
custom: {
50: '#fe9ebd',
500: '#f871a2',
950: '#000000',
},
}SCSS
$custom: #f871a2; $custom-light: #fe9ebd; $custom-dark: #000000;
JSON
{
"hex": "#f871a2",
"rgb": {
"r": 248,
"g": 113,
"b": 162
},
"hsl": {
"h": 338.222,
"s": 90.604,
"l": 70.784
},
"oklch": {
"l": 0.72284,
"c": 0.17171,
"h": 359.5
},
"luminance": 0.34375
}Semantic roles & 50–950 ramp
primary
#F871A2
secondary
#D0F5E7
accent
#E69200
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81