#F871A6#F871A6
#F871A6 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.4% C 0.173 H 357.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F871A6 |
|---|---|
| RGB | rgb(248, 113, 166) |
| HSL | hsl(336, 91%, 71%) |
| HSV | hsv(336, 54%, 97%) |
| CMYK | cmyk(0%, 54.4%, 33.1%, 2.7%) |
| CIE-LAB | lab(65.38, 56.87, -2.96) |
| CIE-LCH | lch(65.38, 56.94, 357.02°) |
| OKLab | oklab(72.41% 0.173 -0.007) |
| OKLCH | oklch(72.41% 0.173 357.7) |
| XYZ | xyz(51.5020, 34.5250, 40.0207) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubble Gum Pink
#FF69AF
ΔE00 2.76
Bubblegum (survey)
#FF6CB5
ΔE00 3.56
Hot Pink
#FF69B4
ΔE00 3.70
Medium Pink
#F36196
ΔE00 3.77
Carnation Pink
#FF7FA7
ΔE00 3.82
Pinky
#FC86AA
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F871A6 #71F8C3
analogous
#F871EA #F871A6 #F87F71
triadic
#F871A6 #A6F871 #71A6F8
tetradic
#F871A6 #EAF871 #71F8C3 #7F71F8
square
#F871A6 #EAF871 #71F8C3 #7F71F8
split-complementary
#F871A6 #71F87F #71EAF8
monochromatic
#E30B60 #F53781 #F871A6 #FBABCB #FEE2ED
Accessibility & contrast
On white
2.66
#F871A6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#F871A6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F871A6
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F871A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F871A6 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868FA8
Deuteranopia (green-blind)
#AAA8A3
Tritanopia (blue-blind)
#FF6785
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f871a6; /* rgb */ color: rgb(248, 113, 166); /* oklch */ color: oklch(72.4% 0.173 357.7);
Tailwind
colors: {
custom: {
50: '#fe9ec0',
500: '#f871a6',
950: '#000000',
},
}SCSS
$custom: #f871a6; $custom-light: #fe9ec0; $custom-dark: #000000;
JSON
{
"hex": "#f871a6",
"rgb": {
"r": 248,
"g": 113,
"b": 166
},
"hsl": {
"h": 336.444,
"s": 90.604,
"l": 70.784
},
"oklch": {
"l": 0.72406,
"c": 0.17315,
"h": 357.7
},
"luminance": 0.3452
}Semantic roles & 50–950 ramp
primary
#F871A6
secondary
#D0F5E6
accent
#E68B00
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81