#F172A5#F172A5
#F172A5 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.6% C 0.164 H 356.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F172A5 |
|---|---|
| RGB | rgb(241, 114, 165) |
| HSL | hsl(336, 82%, 70%) |
| HSV | hsv(336, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 31.5%, 5.5%) |
| CIE-LAB | lab(64.53, 54.05, -3.75) |
| CIE-LCH | lch(64.53, 54.18, 356.03°) |
| OKLab | oklab(71.56% 0.1642 -0.0092) |
| OKLCH | oklch(71.56% 0.164 356.8) |
| XYZ | xyz(49.0867, 33.4567, 39.4626) |
| Luminance | 0.3345 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubble Gum Pink
#FF69AF
ΔE00 3.17
Medium Pink
#F36196
ΔE00 3.74
Bubblegum (survey)
#FF6CB5
ΔE00 3.84
Hot Pink
#FF69B4
ΔE00 3.96
Carnation Pink
#FF7FA7
ΔE00 4.44
Palevioletred
#DB7093
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172A5 #72F1BE
analogous
#F172E4 #F172A5 #F17F72
triadic
#F172A5 #A5F172 #72A5F1
tetradic
#F172A5 #E4F172 #72F1BE #7F72F1
square
#F172A5 #E4F172 #72F1BE #7F72F1
split-complementary
#F172A5 #72F17F #72E4F1
monochromatic
#D41562 #EB3A81 #F172A5 #F7AAC9 #FCE1EC
Accessibility & contrast
On white
2.73
#F172A5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#F172A5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172A5
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172A5 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#A6A5A2
Tritanopia (blue-blind)
#FF6A85
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f172a5; /* rgb */ color: rgb(241, 114, 165); /* oklch */ color: oklch(71.6% 0.164 356.8);
Tailwind
colors: {
custom: {
50: '#f99fbf',
500: '#f172a5',
950: '#000000',
},
}SCSS
$custom: #f172a5; $custom-light: #f99fbf; $custom-dark: #000000;
JSON
{
"hex": "#f172a5",
"rgb": {
"r": 241,
"g": 114,
"b": 165
},
"hsl": {
"h": 335.906,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.71562,
"c": 0.16444,
"h": 356.8
},
"luminance": 0.33452
}Semantic roles & 50–950 ramp
primary
#F172A5
secondary
#CDF2E3
accent
#DE8807
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81