#F170A8#F170A8
#F170A8 is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.4% C 0.169 H 355.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F170A8 |
|---|---|
| RGB | rgb(241, 112, 168) |
| HSL | hsl(334, 82%, 69%) |
| HSV | hsv(334, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 30.3%, 5.5%) |
| CIE-LAB | lab(64.26, 55.36, -5.86) |
| CIE-LCH | lch(64.26, 55.67, 353.96°) |
| OKLab | oklab(71.39% 0.168 -0.0147) |
| OKLCH | oklch(71.39% 0.169 355) |
| XYZ | xyz(49.1398, 33.1209, 40.8432) |
| Luminance | 0.3312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubble Gum Pink
#FF69AF
ΔE00 2.52
Bubblegum (survey)
#FF6CB5
ΔE00 3.07
Hot Pink
#FF69B4
ΔE00 3.14
Medium Pink
#F36196
ΔE00 4.04
Pink (survey)
#FF81C0
ΔE00 5.10
Palevioletred
#DB7093
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170A8 #70F1B9
analogous
#F170E9 #F170A8 #F17970
triadic
#F170A8 #A8F170 #70A8F1
tetradic
#F170A8 #E9F170 #70F1B9 #7970F1
square
#F170A8 #E9F170 #70F1B9 #7970F1
split-complementary
#F170A8 #70F179 #70E9F1
monochromatic
#D21567 #EC3886 #F170A8 #F6A8CA #FCDFEC
Accessibility & contrast
On white
2.75
#F170A8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#F170A8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170A8
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170A8 | 1.00 | 2.75 | 7.62 | 7.62 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#828DAA
Deuteranopia (green-blind)
#A4A5A5
Tritanopia (blue-blind)
#FF6885
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f170a8; /* rgb */ color: rgb(241, 112, 168); /* oklch */ color: oklch(71.4% 0.169 355.0);
Tailwind
colors: {
custom: {
50: '#f99dc1',
500: '#f170a8',
950: '#000000',
},
}SCSS
$custom: #f170a8; $custom-light: #f99dc1; $custom-dark: #000000;
JSON
{
"hex": "#f170a8",
"rgb": {
"r": 241,
"g": 112,
"b": 168
},
"hsl": {
"h": 333.953,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.71389,
"c": 0.16869,
"h": 355
},
"luminance": 0.33116
}Semantic roles & 50–950 ramp
primary
#F170A8
secondary
#CCF1E1
accent
#DF8107
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81