#F271B3#F271B3
#F271B3 is a light, vivid pink. Relative luminance 0.339; OKLCH L 72.0% C 0.173 H 350.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F271B3 |
|---|---|
| RGB | rgb(242, 113, 179) |
| HSL | hsl(329, 83%, 70%) |
| HSV | hsv(329, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 26%, 5.1%) |
| CIE-LAB | lab(64.92, 56.61, -11.12) |
| CIE-LCH | lch(64.92, 57.69, 348.89°) |
| OKLab | oklab(72.02% 0.171 -0.0289) |
| OKLCH | oklch(72.02% 0.173 350.4) |
| XYZ | xyz(50.6616, 33.9467, 46.5233) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum (survey)
#FF6CB5
ΔE00 2.05
Hot Pink
#FF69B4
ΔE00 2.17
Bubble Gum Pink
#FF69AF
ΔE00 2.52
Pink (survey)
#FF81C0
ΔE00 4.10
Bubblegum Pink
#FE83CC
ΔE00 5.15
Pale Magenta
#D767AD
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271B3 #71F2B0
analogous
#F071F2 #F271B3 #F27173
triadic
#F271B3 #B3F271 #71B3F2
tetradic
#F271B3 #F2F071 #71F2B0 #7173F2
square
#F271B3 #F2F071 #71F2B0 #7173F2
split-complementary
#F271B3 #73F271 #71F2F0
monochromatic
#D51477 #ED3995 #F271B3 #F7A9D1 #FCE1EF
Accessibility & contrast
On white
2.70
#F271B3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#F271B3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271B3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271B3 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808FB5
Deuteranopia (green-blind)
#A3A6B0
Tritanopia (blue-blind)
#FF6C8A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f271b3; /* rgb */ color: rgb(242, 113, 179); /* oklch */ color: oklch(72.0% 0.173 350.4);
Tailwind
colors: {
custom: {
50: '#f99ec9',
500: '#f271b3',
950: '#000000',
},
}SCSS
$custom: #f271b3; $custom-light: #f99ec9; $custom-dark: #000000;
JSON
{
"hex": "#f271b3",
"rgb": {
"r": 242,
"g": 113,
"b": 179
},
"hsl": {
"h": 329.302,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.72024,
"c": 0.17337,
"h": 350.4
},
"luminance": 0.33942
}Semantic roles & 50–950 ramp
primary
#F271B3
secondary
#CDF2DF
accent
#E07006
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82