#F256CC#F256CC
#F256CC is a light, highly saturated pink. Relative luminance 0.299; OKLCH L 69.8% C 0.227 H 338.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F256CC |
|---|---|
| RGB | rgb(242, 86, 204) |
| HSL | hsl(315, 86%, 64%) |
| HSV | hsv(315, 64%, 95%) |
| CMYK | cmyk(0%, 64.5%, 15.7%, 5.1%) |
| CIE-LAB | lab(61.57, 71.56, -30.42) |
| CIE-LCH | lch(61.57, 77.76, 336.97°) |
| OKLab | oklab(69.85% 0.2116 -0.0822) |
| OKLCH | oklch(69.85% 0.227 338.8) |
| XYZ | xyz(50.8458, 29.8970, 60.2078) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 4.18
Candy Pink
#FF63E9
ΔE00 5.00
Orchid
#DA70D6
ΔE00 5.54
Purply Pink
#F075E6
ΔE00 6.23
Hot Magenta
#F504C9
ΔE00 6.46
Bright Magenta
#FF08E8
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F256CC #56F27C
analogous
#CA56F2 #F256CC #F2567E
triadic
#F256CC #CCF256 #56CCF2
tetradic
#F256CC #F2CA56 #56F27C #567EF2
square
#F256CC #F2CA56 #56F27C #567EF2
split-complementary
#F256CC #7EF256 #56F2CA
monochromatic
#BF0F94 #EE1DBB #F256CC #F68FDD #FBC8EE
Accessibility & contrast
On white
3.01
#F256CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#F256CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F256CC
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F256CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F256CC | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#FF5C89
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #f256cc; /* rgb */ color: rgb(242, 86, 204); /* oklch */ color: oklch(69.8% 0.227 338.8);
Tailwind
colors: {
custom: {
50: '#fa90dc',
500: '#f256cc',
950: '#000000',
},
}SCSS
$custom: #f256cc; $custom-light: #fa90dc; $custom-dark: #000000;
JSON
{
"hex": "#f256cc",
"rgb": {
"r": 242,
"g": 86,
"b": 204
},
"hsl": {
"h": 314.615,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.69847,
"c": 0.22702,
"h": 338.8
},
"luminance": 0.29892
}Semantic roles & 50–950 ramp
primary
#F256CC
secondary
#B7EDC4
accent
#E23A03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83