What is hex #F271FF color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 95% red, 44% green and 100% blue, resulting in rgb(242, 113, 255) and hsl(295, 100%, 72%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 56%, 0%, 0%).
In the HSV/HSB scale, #F271FF features a hue of 295°, 56% saturation, and 100% brightness.
Hex #F271FF Color Codes & Conversions
| Closest Named Color | Fuchsia Pink (#FF77FF) |
| Hex Code | #F271FF |
| Hex8 (RGBA Hex) | #F271FFFF |
| RGB (CSS) | rgb(242, 113, 255) |
| RGBA (CSS) | rgba(242, 113, 255, 1) |
| HSL (CSS) | hsl(295, 100%, 72%) |
| HSLA (CSS) | hsla(295, 100%, 72%, 1) |
| HSV / HSB | (295°, 56%, 100%) |
| CMYK Values | (5%, 56%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(75.3% 0.229 323.9) |
| CIE-LAB (D65) | 67.95, 68.40, -48.82 |
| CIE XYZ | 60.57, 37.91, 98.72 |
| Decimal / Binary |
15888895
11110010 01110001 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #F271FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #F271FF
Sample preview of readable typography on top of #F271FF.
Black Text on #F271FF
Sample preview of readable typography on top of #F271FF.
HTML / CSS Live Previews & Snippets for #F271FF
Preview #F271FF in real UI elements and copy ready-to-use CSS rules.
background-color: #F271FF;
color: #F271FF;
border: 2px solid #F271FF;
:root {
--color-primary: #F271FF;
--color-primary-rgb: 242, 113, 255;
--color-complementary: #7EFF71;
}
.btn-accent {
background-color: #F271FF;
color: #000000;
}
Hex #F271FF Color Palettes
Complementary Palette
The complementary color of #F271FF is #7EFF71. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #F271FF pairs with #AB71FF and #FF71C5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #F271FF pairs with #71FFAB and #C5FF71, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #F271FF uses #71FFF2 and #FFF271, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #F271FF combines #FFF271, #7EFF71 and #717EFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #F271FF pairs with #FFAB71, #7EFF71 and #71C5FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #F271FF
Tints
Tints are created by mixing #F271FF with white, producing lighter variations.
Tones
Tones are created by mixing #F271FF with gray, softening saturation.
Shades
Shades result from mixing #F271FF with black, creating deeper variations.
Hex #F271FF in Programming & CSS Frameworks
Copy the exact syntax for #F271FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #F271FF |
| Tailwind CSS | bg-[#F271FF] text-[#F271FF] |
| Java (AWT) | new Color(242,113,255); |
| Python | Color("#F271FF") |
| .NET (C#) | Color.FromArgb(255, 242,113,255); |
| Swift / iOS | UIColor(red: 0.95, green: 0.44, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(242, 113, 255) |