#F257D8#F257D8
#F257D8 is a light, highly saturated pink. Relative luminance 0.307; OKLCH L 70.5% C 0.234 H 335.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F257D8 |
|---|---|
| RGB | rgb(242, 87, 216) |
| HSL | hsl(310, 86%, 65%) |
| HSV | hsv(310, 64%, 95%) |
| CMYK | cmyk(0%, 64%, 10.7%, 5.1%) |
| CIE-LAB | lab(62.22, 72.90, -36.19) |
| CIE-LCH | lch(62.22, 81.39, 333.60°) |
| OKLab | oklab(70.49% 0.2122 -0.0986) |
| OKLCH | oklch(70.49% 0.234 335.1) |
| XYZ | xyz(52.4213, 30.6558, 68.1087) |
| Luminance | 0.3065 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.70
Purpleish Pink
#DF4EC8
ΔE00 4.35
Light Magenta
#FA5FF7
ΔE00 4.72
Orchid
#DA70D6
ΔE00 4.78
Purply Pink
#F075E6
ΔE00 5.15
Violet Pink
#FB5FFC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F257D8 #57F271
analogous
#BF57F2 #F257D8 #F2578A
triadic
#F257D8 #D8F257 #57D8F2
tetradic
#F257D8 #F2BF57 #57F271 #578AF2
square
#F257D8 #F2BF57 #57F271 #578AF2
split-complementary
#F257D8 #8AF257 #57F2BF
monochromatic
#C00FA2 #EE1ECB #F257D8 #F690E5 #FBC9F2
Accessibility & contrast
On white
2.95
#F257D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#F257D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F257D8
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F257D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F257D8 | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#899FD4
Tritanopia (blue-blind)
#FD6190
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #f257d8; /* rgb */ color: rgb(242, 87, 216); /* oklch */ color: oklch(70.5% 0.234 335.1);
Tailwind
colors: {
custom: {
50: '#fa90e4',
500: '#f257d8',
950: '#000000',
},
}SCSS
$custom: #f257d8; $custom-light: #fa90e4; $custom-dark: #000000;
JSON
{
"hex": "#f257d8",
"rgb": {
"r": 242,
"g": 87,
"b": 216
},
"hsl": {
"h": 310.065,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.70489,
"c": 0.23397,
"h": 335.1
},
"luminance": 0.30652
}Semantic roles & 50–950 ramp
primary
#F257D8
secondary
#B8EDC1
accent
#E22903
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84