#F170A5#F170A5
#F170A5 is a light, vivid pink. Relative luminance 0.330; OKLCH L 71.3% C 0.167 H 356.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #F170A5 |
|---|---|
| RGB | rgb(241, 112, 165) |
| HSL | hsl(335, 82%, 69%) |
| HSV | hsv(335, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 31.5%, 5.5%) |
| CIE-LAB | lab(64.17, 54.99, -4.28) |
| CIE-LCH | lch(64.17, 55.16, 355.55°) |
| OKLab | oklab(71.29% 0.1671 -0.0106) |
| OKLCH | oklch(71.29% 0.167 356.4) |
| XYZ | xyz(48.8636, 33.0104, 39.3883) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubble Gum Pink
#FF69AF
ΔE00 2.91
Medium Pink
#F36196
ΔE00 3.55
Bubblegum (survey)
#FF6CB5
ΔE00 3.62
Hot Pink
#FF69B4
ΔE00 3.69
Palevioletred
#DB7093
ΔE00 4.77
Carnation Pink
#FF7FA7
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170A5 #70F1BC
analogous
#F170E6 #F170A5 #F17C70
triadic
#F170A5 #A5F170 #70A5F1
tetradic
#F170A5 #E6F170 #70F1BC #7C70F1
square
#F170A5 #E6F170 #70F1BC #7C70F1
split-complementary
#F170A5 #70F17C #70E6F1
monochromatic
#D21562 #EC3882 #F170A5 #F6A8C8 #FCDFEB
Accessibility & contrast
On white
2.76
#F170A5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#F170A5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170A5
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170A5 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#838DA7
Deuteranopia (green-blind)
#A5A4A2
Tritanopia (blue-blind)
#FF6884
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #f170a5; /* rgb */ color: rgb(241, 112, 165); /* oklch */ color: oklch(71.3% 0.167 356.4);
Tailwind
colors: {
custom: {
50: '#f99dbf',
500: '#f170a5',
950: '#000000',
},
}SCSS
$custom: #f170a5; $custom-light: #f99dbf; $custom-dark: #000000;
JSON
{
"hex": "#f170a5",
"rgb": {
"r": 241,
"g": 112,
"b": 165
},
"hsl": {
"h": 335.349,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.71292,
"c": 0.16741,
"h": 356.4
},
"luminance": 0.33006
}Semantic roles & 50–950 ramp
primary
#F170A5
secondary
#CCF1E2
accent
#DF8607
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180F12
muted
#867E81