#F062D8#F062D8
#F062D8 is a light, highly saturated pink. Relative luminance 0.322; OKLCH L 71.4% C 0.218 H 334.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F062D8 |
|---|---|
| RGB | rgb(240, 98, 216) |
| HSL | hsl(310, 83%, 66%) |
| HSV | hsv(310, 59%, 94%) |
| CMYK | cmyk(0%, 59.2%, 10%, 5.9%) |
| CIE-LAB | lab(63.53, 67.97, -34.17) |
| CIE-LCH | lch(63.53, 76.08, 333.31°) |
| OKLab | oklab(71.39% 0.1972 -0.093) |
| OKLCH | oklch(71.39% 0.218 334.8) |
| XYZ | xyz(52.6979, 32.2225, 68.3965) |
| Luminance | 0.3222 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.03
Purply Pink
#F075E6
ΔE00 3.76
Orchid
#DA70D6
ΔE00 3.81
Light Magenta
#FA5FF7
ΔE00 4.59
Violet Pink
#FB5FFC
ΔE00 5.27
Purpleish Pink
#DF4EC8
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F062D8 #62F07A
analogous
#C162F0 #F062D8 #F06291
triadic
#F062D8 #D8F062 #62D8F0
tetradic
#F062D8 #F0C162 #62F07A #6291F0
square
#F062D8 #F0C162 #62F07A #6291F0
split-complementary
#F062D8 #91F062 #62F0C1
monochromatic
#C513A7 #EB2ACA #F062D8 #F59AE6 #FBD2F4
Accessibility & contrast
On white
2.82
#F062D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#F062D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F062D8
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F062D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F062D8 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#8EA1D4
Tritanopia (blue-blind)
#FB6B94
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #f062d8; /* rgb */ color: rgb(240, 98, 216); /* oklch */ color: oklch(71.4% 0.218 334.8);
Tailwind
colors: {
custom: {
50: '#f896e4',
500: '#f062d8',
950: '#000000',
},
}SCSS
$custom: #f062d8; $custom-light: #f896e4; $custom-dark: #000000;
JSON
{
"hex": "#f062d8",
"rgb": {
"r": 240,
"g": 98,
"b": 216
},
"hsl": {
"h": 310.141,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.71388,
"c": 0.21799,
"h": 334.8
},
"luminance": 0.32218
}Semantic roles & 50–950 ramp
primary
#F062D8
secondary
#C0EEC8
accent
#DF2B07
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84