#F170A2#F170A2
#F170A2 is a light, vivid pink. Relative luminance 0.329; OKLCH L 71.2% C 0.166 H 357.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F170A2 |
|---|---|
| RGB | rgb(241, 112, 162) |
| HSL | hsl(337, 82%, 69%) |
| HSV | hsv(337, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 32.8%, 5.5%) |
| CIE-LAB | lab(64.08, 54.63, -2.70) |
| CIE-LCH | lch(64.08, 54.69, 357.17°) |
| OKLab | oklab(71.2% 0.1661 -0.0064) |
| OKLCH | oklch(71.2% 0.166 357.8) |
| XYZ | xyz(48.5937, 32.9025, 37.9670) |
| Luminance | 0.3290 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.14
Bubble Gum Pink
#FF69AF
ΔE00 3.43
Bubblegum (survey)
#FF6CB5
ΔE00 4.23
Hot Pink
#FF69B4
ΔE00 4.30
Palevioletred
#DB7093
ΔE00 4.36
Carnation Pink
#FF7FA7
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170A2 #70F1BF
analogous
#F170E3 #F170A2 #F17F70
triadic
#F170A2 #A2F170 #70A2F1
tetradic
#F170A2 #E3F170 #70F1BF #7F70F1
square
#F170A2 #E3F170 #70F1BF #7F70F1
split-complementary
#F170A2 #70F17F #70E3F1
monochromatic
#D2155E #EC387E #F170A2 #F6A8C6 #FCDFEB
Accessibility & contrast
On white
2.77
#F170A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#F170A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170A2
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170A2 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#848CA4
Deuteranopia (green-blind)
#A6A49F
Tritanopia (blue-blind)
#FF6783
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #f170a2; /* rgb */ color: rgb(241, 112, 162); /* oklch */ color: oklch(71.2% 0.166 357.8);
Tailwind
colors: {
custom: {
50: '#f99dbd',
500: '#f170a2',
950: '#000000',
},
}SCSS
$custom: #f170a2; $custom-light: #f99dbd; $custom-dark: #000000;
JSON
{
"hex": "#f170a2",
"rgb": {
"r": 241,
"g": 112,
"b": 162
},
"hsl": {
"h": 336.744,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.71198,
"c": 0.16623,
"h": 357.8
},
"luminance": 0.32898
}Semantic roles & 50–950 ramp
primary
#F170A2
secondary
#CCF1E3
accent
#DF8B07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81