#F271DA#F271DA
#F271DA is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.5% C 0.199 H 335.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #F271DA |
|---|---|
| RGB | rgb(242, 113, 218) |
| HSL | hsl(311, 83%, 70%) |
| HSV | hsv(311, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 9.9%, 5.1%) |
| CIE-LAB | lab(66.33, 62.23, -30.92) |
| CIE-LCH | lch(66.33, 69.49, 333.58°) |
| OKLab | oklab(73.54% 0.1803 -0.0838) |
| OKLCH | oklch(73.54% 0.199 335.1) |
| XYZ | xyz(55.1782, 35.7534, 70.3109) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.23
Candy Pink
#FF63E9
ΔE00 3.23
Orchid
#DA70D6
ΔE00 4.18
Violet (CSS)
#EE82EE
ΔE00 4.41
Lavender Pink
#DD85D7
ΔE00 4.91
Light Magenta
#FA5FF7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271DA #71F289
analogous
#CA71F2 #F271DA #F2719A
triadic
#F271DA #DAF271 #71DAF2
tetradic
#F271DA #F2CA71 #71F289 #719AF2
square
#F271DA #F2CA71 #71F289 #719AF2
split-complementary
#F271DA #9AF271 #71F2CA
monochromatic
#D514B1 #ED39CB #F271DA #F7A9E9 #FCE1F7
Accessibility & contrast
On white
2.58
#F271DA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#F271DA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271DA
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271DA | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7195DD
Deuteranopia (green-blind)
#97A8D6
Tritanopia (blue-blind)
#FC789C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f271da; /* rgb */ color: rgb(242, 113, 218); /* oklch */ color: oklch(73.5% 0.199 335.1);
Tailwind
colors: {
custom: {
50: '#f99fe5',
500: '#f271da',
950: '#000000',
},
}SCSS
$custom: #f271da; $custom-light: #f99fe5; $custom-dark: #000000;
JSON
{
"hex": "#f271da",
"rgb": {
"r": 242,
"g": 113,
"b": 218
},
"hsl": {
"h": 311.163,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73535,
"c": 0.19884,
"h": 335.1
},
"luminance": 0.35749
}Semantic roles & 50–950 ramp
primary
#F271DA
secondary
#CDF2D4
accent
#E02E06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84