#F271C8#F271C8
#F271C8 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.186 H 341.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F271C8 |
|---|---|
| RGB | rgb(242, 113, 200) |
| HSL | hsl(320, 83%, 70%) |
| HSV | hsv(320, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 17.4%, 5.1%) |
| CIE-LAB | lab(65.64, 59.51, -21.90) |
| CIE-LCH | lch(65.64, 63.41, 339.80°) |
| OKLab | oklab(72.8% 0.1765 -0.0585) |
| OKLCH | oklch(72.8% 0.186 341.7) |
| XYZ | xyz(52.9494, 34.8619, 58.5727) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum Pink
#FE83CC
ΔE00 4.57
Bubblegum (survey)
#FF6CB5
ΔE00 5.04
Hot Pink
#FF69B4
ΔE00 5.07
Purply Pink
#F075E6
ΔE00 5.58
Pink (survey)
#FF81C0
ΔE00 5.81
Lavender Pink
#DD85D7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271C8 #71F29B
analogous
#DC71F2 #F271C8 #F27188
triadic
#F271C8 #C8F271 #71C8F2
tetradic
#F271C8 #F2DC71 #71F29B #7188F2
square
#F271C8 #F2DC71 #71F29B #7188F2
split-complementary
#F271C8 #88F271 #71F2DC
monochromatic
#D51496 #ED39B2 #F271C8 #F7A9DE #FCE1F3
Accessibility & contrast
On white
2.63
#F271C8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#F271C8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271C8
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271C8 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7992CB
Deuteranopia (green-blind)
#9DA7C5
Tritanopia (blue-blind)
#FF7293
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #f271c8; /* rgb */ color: rgb(242, 113, 200); /* oklch */ color: oklch(72.8% 0.186 341.7);
Tailwind
colors: {
custom: {
50: '#f99fd8',
500: '#f271c8',
950: '#000000',
},
}SCSS
$custom: #f271c8; $custom-light: #f99fd8; $custom-dark: #000000;
JSON
{
"hex": "#f271c8",
"rgb": {
"r": 242,
"g": 113,
"b": 200
},
"hsl": {
"h": 319.535,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.72798,
"c": 0.18593,
"h": 341.7
},
"luminance": 0.34858
}Semantic roles & 50–950 ramp
primary
#F271C8
secondary
#CDF2D9
accent
#E04D06
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83