#F266D7#F266D7
#F266D7 is a light, highly saturated pink. Relative luminance 0.333; OKLCH L 72.1% C 0.213 H 335.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F266D7 |
|---|---|
| RGB | rgb(242, 102, 215) |
| HSL | hsl(312, 84%, 67%) |
| HSV | hsv(312, 58%, 95%) |
| CMYK | cmyk(0%, 57.9%, 11.2%, 5.1%) |
| CIE-LAB | lab(64.40, 66.65, -32.24) |
| CIE-LCH | lch(64.40, 74.04, 334.19°) |
| OKLab | oklab(72.07% 0.1941 -0.0875) |
| OKLCH | oklch(72.07% 0.213 335.7) |
| XYZ | xyz(53.6355, 33.2904, 67.8776) |
| Luminance | 0.3329 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.91
Purply Pink
#F075E6
ΔE00 3.37
Orchid
#DA70D6
ΔE00 4.02
Light Magenta
#FA5FF7
ΔE00 4.95
Violet Pink
#FB5FFC
ΔE00 5.62
Violet (CSS)
#EE82EE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F266D7 #66F281
analogous
#C766F2 #F266D7 #F26691
triadic
#F266D7 #D7F266 #66D7F2
tetradic
#F266D7 #F2C766 #66F281 #6691F2
square
#F266D7 #F2C766 #66F281 #6691F2
split-complementary
#F266D7 #91F266 #66F2C7
monochromatic
#CC11A8 #ED2EC8 #F266D7 #F79EE6 #FCD7F4
Accessibility & contrast
On white
2.74
#F266D7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#F266D7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F266D7
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F266D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F266D7 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#678FDB
Deuteranopia (green-blind)
#92A4D3
Tritanopia (blue-blind)
#FD6D95
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f266d7; /* rgb */ color: rgb(242, 102, 215); /* oklch */ color: oklch(72.1% 0.213 335.7);
Tailwind
colors: {
custom: {
50: '#f998e3',
500: '#f266d7',
950: '#000000',
},
}SCSS
$custom: #f266d7; $custom-light: #f998e3; $custom-dark: #000000;
JSON
{
"hex": "#f266d7",
"rgb": {
"r": 242,
"g": 102,
"b": 215
},
"hsl": {
"h": 311.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.72069,
"c": 0.21288,
"h": 335.7
},
"luminance": 0.33286
}Semantic roles & 50–950 ramp
primary
#F266D7
secondary
#C4F0CC
accent
#E12F05
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83