#F271CF#F271CF
#F271CF is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.1% C 0.191 H 339.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F271CF |
|---|---|
| RGB | rgb(242, 113, 207) |
| HSL | hsl(316, 83%, 70%) |
| HSV | hsv(316, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 14.5%, 5.1%) |
| CIE-LAB | lab(65.90, 60.55, -25.43) |
| CIE-LCH | lch(65.90, 65.67, 337.22°) |
| OKLab | oklab(73.08% 0.1781 -0.0684) |
| OKLCH | oklch(73.08% 0.191 339) |
| XYZ | xyz(53.7863, 35.1966, 62.9802) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 4.23
Candy Pink
#FF63E9
ΔE00 4.83
Bubblegum Pink
#FE83CC
ΔE00 5.19
Orchid
#DA70D6
ΔE00 5.20
Lavender Pink
#DD85D7
ΔE00 5.34
Violet (CSS)
#EE82EE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271CF #71F294
analogous
#D571F2 #F271CF #F2718F
triadic
#F271CF #CFF271 #71CFF2
tetradic
#F271CF #F2D571 #71F294 #718FF2
square
#F271CF #F2D571 #71F294 #718FF2
split-complementary
#F271CF #8FF271 #71F2D5
monochromatic
#D514A1 #ED39BC #F271CF #F7A9E2 #FCE1F5
Accessibility & contrast
On white
2.61
#F271CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#F271CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271CF
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271CF | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7693D2
Deuteranopia (green-blind)
#9BA8CC
Tritanopia (blue-blind)
#FE7497
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f271cf; /* rgb */ color: rgb(242, 113, 207); /* oklch */ color: oklch(73.1% 0.191 339.0);
Tailwind
colors: {
custom: {
50: '#f99fde',
500: '#f271cf',
950: '#000000',
},
}SCSS
$custom: #f271cf; $custom-light: #f99fde; $custom-dark: #000000;
JSON
{
"hex": "#f271cf",
"rgb": {
"r": 242,
"g": 113,
"b": 207
},
"hsl": {
"h": 316.279,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73076,
"c": 0.19075,
"h": 339
},
"luminance": 0.35192
}Semantic roles & 50–950 ramp
primary
#F271CF
secondary
#CDF2D7
accent
#E04106
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83