#F256C7#F256C7
#F256C7 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.6% C 0.224 H 340.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F256C7 |
|---|---|
| RGB | rgb(242, 86, 199) |
| HSL | hsl(317, 86%, 64%) |
| HSV | hsv(317, 64%, 95%) |
| CMYK | cmyk(0%, 64.5%, 17.8%, 5.1%) |
| CIE-LAB | lab(61.36, 70.86, -27.90) |
| CIE-LCH | lch(61.36, 76.16, 338.51°) |
| OKLab | oklab(69.63% 0.2108 -0.0751) |
| OKLCH | oklch(69.63% 0.224 340.4) |
| XYZ | xyz(50.2558, 29.6609, 57.1001) |
| Luminance | 0.2966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 4.47
Candy Pink
#FF63E9
ΔE00 5.66
Pale Magenta
#D767AD
ΔE00 6.01
Orchid
#DA70D6
ΔE00 6.03
Purplish Pink
#CE5DAE
ΔE00 6.41
Hot Magenta
#F504C9
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F256C7 #56F281
analogous
#CF56F2 #F256C7 #F25679
triadic
#F256C7 #C7F256 #56C7F2
tetradic
#F256C7 #F2CF56 #56F281 #5679F2
square
#F256C7 #F2CF56 #56F281 #5679F2
split-complementary
#F256C7 #79F256 #56F2CF
monochromatic
#BF0F8E #EE1DB4 #F256C7 #F68FDA #FBC8ED
Accessibility & contrast
On white
3.03
#F256C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#F256C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F256C7
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F256C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F256C7 | 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)
#6084CA
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#FF5A87
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #f256c7; /* rgb */ color: rgb(242, 86, 199); /* oklch */ color: oklch(69.6% 0.224 340.4);
Tailwind
colors: {
custom: {
50: '#fa8fd8',
500: '#f256c7',
950: '#000000',
},
}SCSS
$custom: #f256c7; $custom-light: #fa8fd8; $custom-dark: #000000;
JSON
{
"hex": "#f256c7",
"rgb": {
"r": 242,
"g": 86,
"b": 199
},
"hsl": {
"h": 316.538,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.6963,
"c": 0.22375,
"h": 340.4
},
"luminance": 0.29656
}Semantic roles & 50–950 ramp
primary
#F256C7
secondary
#B7EDC6
accent
#E24103
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83