#F172DB#F172DB
#F172DB is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.6% C 0.197 H 334.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F172DB |
|---|---|
| RGB | rgb(241, 114, 219) |
| HSL | hsl(310, 82%, 70%) |
| HSV | hsv(310, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 9.1%, 5.5%) |
| CIE-LAB | lab(66.41, 61.65, -31.37) |
| CIE-LCH | lch(66.41, 69.17, 333.03°) |
| OKLab | oklab(73.58% 0.1781 -0.0851) |
| OKLCH | oklch(73.58% 0.197 334.5) |
| XYZ | xyz(55.0793, 35.8537, 71.0235) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.97
Candy Pink
#FF63E9
ΔE00 3.25
Orchid
#DA70D6
ΔE00 4.03
Violet (CSS)
#EE82EE
ΔE00 4.15
Lavender Pink
#DD85D7
ΔE00 4.71
Light Magenta
#FA5FF7
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172DB #72F188
analogous
#C872F1 #F172DB #F1729C
triadic
#F172DB #DBF172 #72DBF1
tetradic
#F172DB #F1C872 #72F188 #729CF1
square
#F172DB #F1C872 #72F188 #729CF1
split-complementary
#F172DB #9CF172 #72F1C8
monochromatic
#D415B3 #EB3ACD #F172DB #F7AAE9 #FCE1F7
Accessibility & contrast
On white
2.57
#F172DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#F172DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172DB
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172DB | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7196DE
Deuteranopia (green-blind)
#96A8D8
Tritanopia (blue-blind)
#FB799D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f172db; /* rgb */ color: rgb(241, 114, 219); /* oklch */ color: oklch(73.6% 0.197 334.5);
Tailwind
colors: {
custom: {
50: '#f89fe6',
500: '#f172db',
950: '#000000',
},
}SCSS
$custom: #f172db; $custom-light: #f89fe6; $custom-dark: #000000;
JSON
{
"hex": "#f172db",
"rgb": {
"r": 241,
"g": 114,
"b": 219
},
"hsl": {
"h": 310.394,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73578,
"c": 0.1974,
"h": 334.5
},
"luminance": 0.3585
}Semantic roles & 50–950 ramp
primary
#F172DB
secondary
#CDF2D4
accent
#DE2C07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84