#F172A4#F172A4
#F172A4 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.5% C 0.164 H 357.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F172A4 |
|---|---|
| RGB | rgb(241, 114, 164) |
| HSL | hsl(336, 82%, 70%) |
| HSV | hsv(336, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 32%, 5.5%) |
| CIE-LAB | lab(64.50, 53.93, -3.23) |
| CIE-LCH | lch(64.50, 54.02, 356.58°) |
| OKLab | oklab(71.53% 0.1639 -0.0078) |
| OKLCH | oklch(71.53% 0.164 357.3) |
| XYZ | xyz(48.9960, 33.4204, 38.9852) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubble Gum Pink
#FF69AF
ΔE00 3.34
Medium Pink
#F36196
ΔE00 3.61
Bubblegum (survey)
#FF6CB5
ΔE00 4.04
Hot Pink
#FF69B4
ΔE00 4.16
Carnation Pink
#FF7FA7
ΔE00 4.32
Palevioletred
#DB7093
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172A4 #72F1BF
analogous
#F172E3 #F172A4 #F18072
triadic
#F172A4 #A4F172 #72A4F1
tetradic
#F172A4 #E3F172 #72F1BF #8072F1
square
#F172A4 #E3F172 #72F1BF #8072F1
split-complementary
#F172A4 #72F180 #72E3F1
monochromatic
#D41560 #EB3A80 #F172A4 #F7AAC8 #FCE1EC
Accessibility & contrast
On white
2.73
#F172A4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#F172A4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172A4
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172A4 | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858EA6
Deuteranopia (green-blind)
#A6A5A1
Tritanopia (blue-blind)
#FF6985
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f172a4; /* rgb */ color: rgb(241, 114, 164); /* oklch */ color: oklch(71.5% 0.164 357.3);
Tailwind
colors: {
custom: {
50: '#f99fbe',
500: '#f172a4',
950: '#000000',
},
}SCSS
$custom: #f172a4; $custom-light: #f99fbe; $custom-dark: #000000;
JSON
{
"hex": "#f172a4",
"rgb": {
"r": 241,
"g": 114,
"b": 164
},
"hsl": {
"h": 336.378,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.7153,
"c": 0.16404,
"h": 357.3
},
"luminance": 0.33416
}Semantic roles & 50–950 ramp
primary
#F172A4
secondary
#CDF2E3
accent
#DE8A07
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81