#F172D7#F172D7
#F172D7 is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.4% C 0.194 H 335.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F172D7 |
|---|---|
| RGB | rgb(241, 114, 215) |
| HSL | hsl(312, 82%, 70%) |
| HSV | hsv(312, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 10.8%, 5.5%) |
| CIE-LAB | lab(66.25, 61.02, -29.38) |
| CIE-LCH | lch(66.25, 67.73, 334.29°) |
| OKLab | oklab(73.41% 0.1773 -0.0795) |
| OKLCH | oklch(73.41% 0.194 335.8) |
| XYZ | xyz(54.5590, 35.6456, 68.2835) |
| Luminance | 0.3564 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.69
Candy Pink
#FF63E9
ΔE00 3.74
Orchid
#DA70D6
ΔE00 4.28
Violet (CSS)
#EE82EE
ΔE00 4.69
Lavender Pink
#DD85D7
ΔE00 4.74
Light Magenta
#FA5FF7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172D7 #72F18C
analogous
#CB72F1 #F172D7 #F17298
triadic
#F172D7 #D7F172 #72D7F1
tetradic
#F172D7 #F1CB72 #72F18C #7298F1
square
#F172D7 #F1CB72 #72F18C #7298F1
split-complementary
#F172D7 #98F172 #72F1CB
monochromatic
#D415AD #EB3AC7 #F172D7 #F7AAE7 #FCE1F7
Accessibility & contrast
On white
2.58
#F172D7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#F172D7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172D7
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172D7 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7395DA
Deuteranopia (green-blind)
#98A8D4
Tritanopia (blue-blind)
#FC789B
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f172d7; /* rgb */ color: rgb(241, 114, 215); /* oklch */ color: oklch(73.4% 0.194 335.8);
Tailwind
colors: {
custom: {
50: '#f89fe3',
500: '#f172d7',
950: '#000000',
},
}SCSS
$custom: #f172d7; $custom-light: #f89fe3; $custom-dark: #000000;
JSON
{
"hex": "#f172d7",
"rgb": {
"r": 241,
"g": 114,
"b": 215
},
"hsl": {
"h": 312.283,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73407,
"c": 0.19434,
"h": 335.8
},
"luminance": 0.35642
}Semantic roles & 50–950 ramp
primary
#F172D7
secondary
#CDF2D5
accent
#DE3307
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83