#F256D8#F256D8
#F256D8 is a light, highly saturated pink. Relative luminance 0.305; OKLCH L 70.4% C 0.235 H 335.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F256D8 |
|---|---|
| RGB | rgb(242, 86, 216) |
| HSL | hsl(310, 86%, 64%) |
| HSV | hsv(310, 64%, 95%) |
| CMYK | cmyk(0%, 64.5%, 10.7%, 5.1%) |
| CIE-LAB | lab(62.08, 73.28, -36.40) |
| CIE-LCH | lch(62.08, 81.83, 333.58°) |
| OKLab | oklab(70.39% 0.2133 -0.0992) |
| OKLCH | oklch(70.39% 0.235 335.1) |
| XYZ | xyz(52.3409, 30.4950, 68.0819) |
| Luminance | 0.3049 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.81
Purpleish Pink
#DF4EC8
ΔE00 4.26
Light Magenta
#FA5FF7
ΔE00 4.76
Orchid
#DA70D6
ΔE00 4.86
Purply Pink
#F075E6
ΔE00 5.29
Violet Pink
#FB5FFC
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F256D8 #56F270
analogous
#BE56F2 #F256D8 #F2568A
triadic
#F256D8 #D8F256 #56D8F2
tetradic
#F256D8 #F2BE56 #56F270 #568AF2
square
#F256D8 #F2BE56 #56F270 #568AF2
split-complementary
#F256D8 #8AF256 #56F2BE
monochromatic
#BF0FA2 #EE1DCB #F256D8 #F68FE5 #FBC8F2
Accessibility & contrast
On white
2.96
#F256D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#F256D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F256D8
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F256D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F256D8 | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5687DC
Deuteranopia (green-blind)
#899ED4
Tritanopia (blue-blind)
#FD6190
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #f256d8; /* rgb */ color: rgb(242, 86, 216); /* oklch */ color: oklch(70.4% 0.235 335.1);
Tailwind
colors: {
custom: {
50: '#fa90e4',
500: '#f256d8',
950: '#000000',
},
}SCSS
$custom: #f256d8; $custom-light: #fa90e4; $custom-dark: #000000;
JSON
{
"hex": "#f256d8",
"rgb": {
"r": 242,
"g": 86,
"b": 216
},
"hsl": {
"h": 310,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.70389,
"c": 0.23525,
"h": 335.1
},
"luminance": 0.30491
}Semantic roles & 50–950 ramp
primary
#F256D8
secondary
#B7EDC0
accent
#E22803
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D15
muted
#867E84