#F051D8#F051D8
#F051D8 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.6% C 0.240 H 334.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F051D8 |
|---|---|
| RGB | rgb(240, 81, 216) |
| HSL | hsl(309, 84%, 63%) |
| HSV | hsv(309, 66%, 94%) |
| CMYK | cmyk(0%, 66.3%, 10%, 5.9%) |
| CIE-LAB | lab(61.11, 74.66, -37.94) |
| CIE-LCH | lch(61.11, 83.75, 333.06°) |
| OKLab | oklab(69.63% 0.2168 -0.1036) |
| OKLCH | oklch(69.63% 0.24 334.5) |
| XYZ | xyz(51.2727, 29.3722, 67.9214) |
| Luminance | 0.2937 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.58
Candy Pink
#FF63E9
ΔE00 4.58
Bright Magenta
#FF08E8
ΔE00 4.71
Light Magenta
#FA5FF7
ΔE00 5.08
Orchid
#DA70D6
ΔE00 5.21
Pinkish Purple
#D648D7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F051D8 #51F069
analogous
#B951F0 #F051D8 #F05188
triadic
#F051D8 #D8F051 #51D8F0
tetradic
#F051D8 #F0B951 #51F069 #5188F0
square
#F051D8 #F0B951 #51F069 #5188F0
split-complementary
#F051D8 #88F051 #51F0B9
monochromatic
#B7109E #EB19CB #F051D8 #F589E5 #FAC2F1
Accessibility & contrast
On white
3.06
#F051D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#F051D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F051D8
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F051D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F051D8 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F84DC
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#FB5D8E
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #f051d8; /* rgb */ color: rgb(240, 81, 216); /* oklch */ color: oklch(69.6% 0.240 334.5);
Tailwind
colors: {
custom: {
50: '#f98de4',
500: '#f051d8',
950: '#000000',
},
}SCSS
$custom: #f051d8; $custom-light: #f98de4; $custom-dark: #000000;
JSON
{
"hex": "#f051d8",
"rgb": {
"r": 240,
"g": 81,
"b": 216
},
"hsl": {
"h": 309.057,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.69625,
"c": 0.24027,
"h": 334.5
},
"luminance": 0.29368
}Semantic roles & 50–950 ramp
primary
#F051D8
secondary
#B2EBBA
accent
#E12605
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84