#F870A2#F870A2
#F870A2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.2% C 0.173 H 359.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F870A2 |
|---|---|
| RGB | rgb(248, 112, 162) |
| HSL | hsl(338, 91%, 71%) |
| HSV | hsv(338, 55%, 97%) |
| CMYK | cmyk(0%, 54.8%, 34.7%, 2.7%) |
| CIE-LAB | lab(65.09, 56.86, -1.10) |
| CIE-LCH | lch(65.09, 56.87, 358.89°) |
| OKLab | oklab(72.15% 0.1731 -0.0022) |
| OKLCH | oklch(72.15% 0.173 359.3) |
| XYZ | xyz(51.0298, 34.1586, 38.0812) |
| Luminance | 0.3415 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.28
Bubble Gum Pink
#FF69AF
ΔE00 3.46
Carnation Pink
#FF7FA7
ΔE00 3.59
Rosy Pink
#F6688E
ΔE00 4.32
Bubblegum (survey)
#FF6CB5
ΔE00 4.36
Hot Pink
#FF69B4
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F870A2 #70F8C6
analogous
#F870E6 #F870A2 #F88270
triadic
#F870A2 #A2F870 #70A2F8
tetradic
#F870A2 #E6F870 #70F8C6 #8270F8
square
#F870A2 #E6F870 #70F8C6 #8270F8
split-complementary
#F870A2 #70F882 #70E6F8
monochromatic
#E30B5A #F5367C #F870A2 #FBAAC8 #FEE2EC
Accessibility & contrast
On white
2.68
#F870A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#F870A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F870A2
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F870A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F870A2 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#AAA89F
Tritanopia (blue-blind)
#FF6583
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f870a2; /* rgb */ color: rgb(248, 112, 162); /* oklch */ color: oklch(72.2% 0.173 359.3);
Tailwind
colors: {
custom: {
50: '#fe9ebd',
500: '#f870a2',
950: '#000000',
},
}SCSS
$custom: #f870a2; $custom-light: #fe9ebd; $custom-dark: #000000;
JSON
{
"hex": "#f870a2",
"rgb": {
"r": 248,
"g": 112,
"b": 162
},
"hsl": {
"h": 337.941,
"s": 90.667,
"l": 70.588
},
"oklch": {
"l": 0.72153,
"c": 0.17314,
"h": 359.3
},
"luminance": 0.34153
}Semantic roles & 50–950 ramp
primary
#F870A2
secondary
#CFF4E7
accent
#E69100
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81