#F172D2#F172D2
#F172D2 is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.2% C 0.191 H 337.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F172D2 |
|---|---|
| RGB | rgb(241, 114, 210) |
| HSL | hsl(315, 82%, 70%) |
| HSV | hsv(315, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 12.9%, 5.5%) |
| CIE-LAB | lab(66.05, 60.25, -26.89) |
| CIE-LCH | lch(66.05, 65.98, 335.95°) |
| OKLab | oklab(73.2% 0.1763 -0.0725) |
| OKLCH | oklch(73.2% 0.191 337.7) |
| XYZ | xyz(53.9263, 35.3925, 64.9515) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.61
Candy Pink
#FF63E9
ΔE00 4.45
Orchid
#DA70D6
ΔE00 4.76
Lavender Pink
#DD85D7
ΔE00 4.94
Violet (CSS)
#EE82EE
ΔE00 5.45
Bubblegum Pink
#FE83CC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172D2 #72F191
analogous
#D172F1 #F172D2 #F17293
triadic
#F172D2 #D2F172 #72D2F1
tetradic
#F172D2 #F1D172 #72F191 #7293F1
square
#F172D2 #F1D172 #72F191 #7293F1
split-complementary
#F172D2 #93F172 #72F1D1
monochromatic
#D415A5 #EB3AC0 #F172D2 #F7AAE4 #FCE1F6
Accessibility & contrast
On white
2.60
#F172D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#F172D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172D2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172D2 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#FC7699
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f172d2; /* rgb */ color: rgb(241, 114, 210); /* oklch */ color: oklch(73.2% 0.191 337.7);
Tailwind
colors: {
custom: {
50: '#f89fe0',
500: '#f172d2',
950: '#000000',
},
}SCSS
$custom: #f172d2; $custom-light: #f89fe0; $custom-dark: #000000;
JSON
{
"hex": "#f172d2",
"rgb": {
"r": 241,
"g": 114,
"b": 210
},
"hsl": {
"h": 314.646,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73199,
"c": 0.19063,
"h": 337.7
},
"luminance": 0.35389
}Semantic roles & 50–950 ramp
primary
#F172D2
secondary
#CDF2D6
accent
#DE3C07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83