#F252D4#F252D4
#F252D4 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.8% C 0.237 H 336.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F252D4 |
|---|---|
| RGB | rgb(242, 82, 212) |
| HSL | hsl(311, 86%, 64%) |
| HSV | hsv(311, 66%, 95%) |
| CMYK | cmyk(0%, 66.1%, 12.4%, 5.1%) |
| CIE-LAB | lab(61.37, 74.19, -35.26) |
| CIE-LCH | lch(61.37, 82.14, 334.58°) |
| OKLab | oklab(69.82% 0.2172 -0.0959) |
| OKLCH | oklch(69.82% 0.237 336.2) |
| XYZ | xyz(51.5196, 29.6697, 65.2880) |
| Luminance | 0.2967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.74
Candy Pink
#FF63E9
ΔE00 4.51
Bright Magenta
#FF08E8
ΔE00 5.25
Orchid
#DA70D6
ΔE00 5.34
Light Magenta
#FA5FF7
ΔE00 5.51
Hot Magenta
#F504C9
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F252D4 #52F270
analogous
#C052F2 #F252D4 #F25284
triadic
#F252D4 #D4F252 #52D4F2
tetradic
#F252D4 #F2C052 #52F270 #5284F2
square
#F252D4 #F2C052 #52F270 #5284F2
split-complementary
#F252D4 #84F252 #52F2C0
monochromatic
#BC0E9B #EE19C6 #F252D4 #F68BE2 #FBC4F0
Accessibility & contrast
On white
3.03
#F252D4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#F252D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F252D4
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F252D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F252D4 | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#899DD0
Tritanopia (blue-blind)
#FE5C8C
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #f252d4; /* rgb */ color: rgb(242, 82, 212); /* oklch */ color: oklch(69.8% 0.237 336.2);
Tailwind
colors: {
custom: {
50: '#fa8ee1',
500: '#f252d4',
950: '#000000',
},
}SCSS
$custom: #f252d4; $custom-light: #fa8ee1; $custom-dark: #000000;
JSON
{
"hex": "#f252d4",
"rgb": {
"r": 242,
"g": 82,
"b": 212
},
"hsl": {
"h": 311.25,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.69815,
"c": 0.23745,
"h": 336.2
},
"luminance": 0.29665
}Semantic roles & 50–950 ramp
primary
#F252D4
secondary
#B4ECBE
accent
#E32D03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83