#F171E2#F171E2
#F171E2 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.8% C 0.204 H 332.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F171E2 |
|---|---|
| RGB | rgb(241, 113, 226) |
| HSL | hsl(307, 82%, 69%) |
| HSV | hsv(307, 53%, 95%) |
| CMYK | cmyk(0%, 53.1%, 6.2%, 5.5%) |
| CIE-LAB | lab(66.52, 63.23, -35.08) |
| CIE-LCH | lch(66.52, 72.31, 330.98°) |
| OKLab | oklab(73.76% 0.1807 -0.0957) |
| OKLCH | oklch(73.76% 0.204 332.1) |
| XYZ | xyz(55.9080, 36.0057, 75.9419) |
| Luminance | 0.3600 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.93
Candy Pink
#FF63E9
ΔE00 2.59
Violet (CSS)
#EE82EE
ΔE00 3.53
Orchid
#DA70D6
ΔE00 3.84
Light Magenta
#FA5FF7
ΔE00 4.17
Violet Pink
#FB5FFC
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F171E2 #71F180
analogous
#C071F1 #F171E2 #F171A2
triadic
#F171E2 #E2F171 #71E2F1
tetradic
#F171E2 #F1C071 #71F180 #71A2F1
square
#F171E2 #F1C071 #71F180 #71A2F1
split-complementary
#F171E2 #A2F171 #71F1C0
monochromatic
#D315BD #EC39D7 #F171E2 #F6A9ED #FCE0F9
Accessibility & contrast
On white
2.56
#F171E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#F171E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F171E2
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F171E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F171E2 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f171e2; /* rgb */ color: rgb(241, 113, 226); /* oklch */ color: oklch(73.8% 0.204 332.1);
Tailwind
colors: {
custom: {
50: '#f89feb',
500: '#f171e2',
950: '#000000',
},
}SCSS
$custom: #f171e2; $custom-light: #f89feb; $custom-dark: #000000;
JSON
{
"hex": "#f171e2",
"rgb": {
"r": 241,
"g": 113,
"b": 226
},
"hsl": {
"h": 307.031,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.73758,
"c": 0.20442,
"h": 332.1
},
"luminance": 0.36002
}Semantic roles & 50–950 ramp
primary
#F171E2
secondary
#CCF1D1
accent
#DE2007
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84