#F271D3#F271D3
#F271D3 is a light, vivid pink. Relative luminance 0.354; OKLCH L 73.2% C 0.194 H 337.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F271D3 |
|---|---|
| RGB | rgb(242, 113, 211) |
| HSL | hsl(314, 83%, 70%) |
| HSV | hsv(314, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 12.8%, 5.1%) |
| CIE-LAB | lab(66.05, 61.15, -27.43) |
| CIE-LCH | lch(66.05, 67.02, 335.84°) |
| OKLab | oklab(73.24% 0.1789 -0.074) |
| OKLCH | oklch(73.24% 0.194 337.5) |
| XYZ | xyz(54.2815, 35.3947, 65.5883) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.48
Candy Pink
#FF63E9
ΔE00 4.19
Orchid
#DA70D6
ΔE00 4.74
Lavender Pink
#DD85D7
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.40
Bubblegum Pink
#FE83CC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271D3 #71F290
analogous
#D171F2 #F271D3 #F27192
triadic
#F271D3 #D3F271 #71D3F2
tetradic
#F271D3 #F2D171 #71F290 #7192F2
square
#F271D3 #F2D171 #71F290 #7192F2
split-complementary
#F271D3 #92F271 #71F2D1
monochromatic
#D514A7 #ED39C2 #F271D3 #F7A9E4 #FCE1F6
Accessibility & contrast
On white
2.60
#F271D3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#F271D3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271D3
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271D3 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#FD7699
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #f271d3; /* rgb */ color: rgb(242, 113, 211); /* oklch */ color: oklch(73.2% 0.194 337.5);
Tailwind
colors: {
custom: {
50: '#f99fe0',
500: '#f271d3',
950: '#000000',
},
}SCSS
$custom: #f271d3; $custom-light: #f99fe0; $custom-dark: #000000;
JSON
{
"hex": "#f271d3",
"rgb": {
"r": 242,
"g": 113,
"b": 211
},
"hsl": {
"h": 314.419,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.7324,
"c": 0.19362,
"h": 337.5
},
"luminance": 0.35391
}Semantic roles & 50–950 ramp
primary
#F271D3
secondary
#CDF2D6
accent
#E03A06
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83