#F271F2#F271F2
#F271F2 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.218 H 327.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F271F2 |
|---|---|
| RGB | rgb(242, 113, 242) |
| HSL | hsl(300, 83%, 70%) |
| HSV | hsv(300, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(67.35, 66.15, -42.63) |
| CIE-LCH | lch(67.35, 78.70, 327.20°) |
| OKLab | oklab(74.62% 0.184 -0.1173) |
| OKLCH | oklch(74.62% 0.218 327.5) |
| XYZ | xyz(58.5492, 37.1018, 88.0646) |
| Luminance | 0.3710 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.12
Light Magenta
#FA5FF7
ΔE00 2.69
Violet Pink
#FB5FFC
ΔE00 2.89
Candy Pink
#FF63E9
ΔE00 3.11
Violet (CSS)
#EE82EE
ΔE00 3.24
Orchid
#DA70D6
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271F2 #71F271
analogous
#B271F2 #F271F2 #F271B2
triadic
#F271F2 #F2F271 #71F2F2
tetradic
#F271F2 #F2B271 #71F271 #71B2F2
square
#F271F2 #F2B271 #71F271 #71B2F2
split-complementary
#F271F2 #B2F271 #71F2B2
monochromatic
#D514D5 #ED39ED #F271F2 #F7A9F7 #FCE1FC
Accessibility & contrast
On white
2.49
#F271F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#F271F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271F2
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271F2 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#F980A7
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f271f2; /* rgb */ color: rgb(242, 113, 242); /* oklch */ color: oklch(74.6% 0.218 327.5);
Tailwind
colors: {
custom: {
50: '#f99ff7',
500: '#f271f2',
950: '#000000',
},
}SCSS
$custom: #f271f2; $custom-light: #f99ff7; $custom-dark: #000000;
JSON
{
"hex": "#f271f2",
"rgb": {
"r": 242,
"g": 113,
"b": 242
},
"hsl": {
"h": 300,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.74623,
"c": 0.21818,
"h": 327.5
},
"luminance": 0.37098
}Semantic roles & 50–950 ramp
primary
#F271F2
secondary
#CDF2CD
accent
#E00606
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85