#F170F2#F170F2
#F170F2 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.4% C 0.219 H 327.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F170F2 |
|---|---|
| RGB | rgb(241, 112, 242) |
| HSL | hsl(300, 83%, 69%) |
| HSV | hsv(300, 54%, 95%) |
| CMYK | cmyk(0.4%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(67.05, 66.34, -43.11) |
| CIE-LCH | lch(67.05, 79.12, 326.98°) |
| OKLab | oklab(74.38% 0.1842 -0.1187) |
| OKLCH | oklch(74.38% 0.219 327.2) |
| XYZ | xyz(58.0958, 36.7033, 88.0116) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.27
Light Magenta
#FA5FF7
ΔE00 2.54
Violet Pink
#FB5FFC
ΔE00 2.75
Candy Pink
#FF63E9
ΔE00 3.16
Violet (CSS)
#EE82EE
ΔE00 3.45
Orchid
#DA70D6
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170F2 #71F270
analogous
#B070F2 #F170F2 #F270B2
triadic
#F170F2 #F2F170 #70F2F1
tetradic
#F170F2 #F2B070 #71F270 #70B2F2
square
#F170F2 #F2B070 #71F270 #70B2F2
split-complementary
#F170F2 #B2F270 #70F2B0
monochromatic
#D313D4 #EC38ED #F170F2 #F6A8F7 #FCE0FC
Accessibility & contrast
On white
2.52
#F170F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#F170F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170F2
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170F2 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#F77FA7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f170f2; /* rgb */ color: rgb(241, 112, 242); /* oklch */ color: oklch(74.4% 0.219 327.2);
Tailwind
colors: {
custom: {
50: '#f89ff7',
500: '#f170f2',
950: '#000000',
},
}SCSS
$custom: #f170f2; $custom-light: #f89ff7; $custom-dark: #000000;
JSON
{
"hex": "#f170f2",
"rgb": {
"r": 241,
"g": 112,
"b": 242
},
"hsl": {
"h": 299.538,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.74376,
"c": 0.21909,
"h": 327.2
},
"luminance": 0.367
}Semantic roles & 50–950 ramp
primary
#F170F2
secondary
#CCF2CC
accent
#E00607
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85