#F172D8#F172D8
#F172D8 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.5% C 0.195 H 335.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #F172D8 |
|---|---|
| RGB | rgb(241, 114, 216) |
| HSL | hsl(312, 82%, 70%) |
| HSV | hsv(312, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 10.4%, 5.5%) |
| CIE-LAB | lab(66.29, 61.18, -29.88) |
| CIE-LCH | lch(66.29, 68.09, 333.97°) |
| OKLab | oklab(73.45% 0.1775 -0.0809) |
| OKLCH | oklch(73.45% 0.195 335.5) |
| XYZ | xyz(54.6879, 35.6972, 68.9623) |
| Luminance | 0.3569 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.51
Candy Pink
#FF63E9
ΔE00 3.61
Orchid
#DA70D6
ΔE00 4.21
Violet (CSS)
#EE82EE
ΔE00 4.55
Lavender Pink
#DD85D7
ΔE00 4.72
Light Magenta
#FA5FF7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172D8 #72F18B
analogous
#CB72F1 #F172D8 #F17299
triadic
#F172D8 #D8F172 #72D8F1
tetradic
#F172D8 #F1CB72 #72F18B #7299F1
square
#F172D8 #F1CB72 #72F18B #7299F1
split-complementary
#F172D8 #99F172 #72F1CB
monochromatic
#D415AE #EB3AC9 #F172D8 #F7AAE7 #FCE1F7
Accessibility & contrast
On white
2.58
#F172D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#F172D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172D8
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172D8 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7395DB
Deuteranopia (green-blind)
#97A8D5
Tritanopia (blue-blind)
#FB789B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f172d8; /* rgb */ color: rgb(241, 114, 216); /* oklch */ color: oklch(73.5% 0.195 335.5);
Tailwind
colors: {
custom: {
50: '#f89fe4',
500: '#f172d8',
950: '#000000',
},
}SCSS
$custom: #f172d8; $custom-light: #f89fe4; $custom-dark: #000000;
JSON
{
"hex": "#f172d8",
"rgb": {
"r": 241,
"g": 114,
"b": 216
},
"hsl": {
"h": 311.811,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.7345,
"c": 0.1951,
"h": 335.5
},
"luminance": 0.35693
}Semantic roles & 50–950 ramp
primary
#F172D8
secondary
#CDF2D4
accent
#DE3207
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83