#F170DF#F170DF
#F170DF is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.5% C 0.204 H 333.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F170DF |
|---|---|
| RGB | rgb(241, 112, 223) |
| HSL | hsl(308, 82%, 69%) |
| HSV | hsv(308, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 7.5%, 5.5%) |
| CIE-LAB | lab(66.23, 63.20, -33.87) |
| CIE-LCH | lch(66.23, 71.71, 331.81°) |
| OKLab | oklab(73.5% 0.1815 -0.0922) |
| OKLCH | oklch(73.5% 0.204 333.1) |
| XYZ | xyz(55.3890, 35.6206, 73.7558) |
| Luminance | 0.3562 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.41
Candy Pink
#FF63E9
ΔE00 2.65
Orchid
#DA70D6
ΔE00 3.78
Violet (CSS)
#EE82EE
ΔE00 3.93
Light Magenta
#FA5FF7
ΔE00 4.47
Violet Pink
#FB5FFC
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170DF #70F182
analogous
#C370F1 #F170DF #F1709F
triadic
#F170DF #DFF170 #70DFF1
tetradic
#F170DF #F1C370 #70F182 #709FF1
square
#F170DF #F1C370 #70F182 #709FF1
split-complementary
#F170DF #9FF170 #70F1C3
monochromatic
#D215B8 #EC38D3 #F170DF #F6A8EB #FCDFF8
Accessibility & contrast
On white
2.59
#F170DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#F170DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170DF
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170DF | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D95E3
Deuteranopia (green-blind)
#94A8DB
Tritanopia (blue-blind)
#FA799E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f170df; /* rgb */ color: rgb(241, 112, 223); /* oklch */ color: oklch(73.5% 0.204 333.1);
Tailwind
colors: {
custom: {
50: '#f89ee9',
500: '#f170df',
950: '#000000',
},
}SCSS
$custom: #f170df; $custom-light: #f89ee9; $custom-dark: #000000;
JSON
{
"hex": "#f170df",
"rgb": {
"r": 241,
"g": 112,
"b": 223
},
"hsl": {
"h": 308.372,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.73499,
"c": 0.20355,
"h": 333.1
},
"luminance": 0.35617
}Semantic roles & 50–950 ramp
primary
#F170DF
secondary
#CCF1D1
accent
#DF2507
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84