#FB71E2#FB71E2
#FB71E2 is a light, highly saturated pink. Relative luminance 0.378; OKLCH L 75.0% C 0.211 H 335.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #FB71E2 |
|---|---|
| RGB | rgb(251, 113, 226) |
| HSL | hsl(311, 95%, 71%) |
| HSV | hsv(311, 55%, 98%) |
| CMYK | cmyk(0%, 55%, 10%, 1.6%) |
| CIE-LAB | lab(67.88, 65.95, -32.87) |
| CIE-LCH | lch(67.88, 73.69, 333.51°) |
| OKLab | oklab(75.04% 0.1912 -0.0892) |
| OKLCH | oklch(75.04% 0.211 335) |
| XYZ | xyz(59.4165, 37.8148, 76.1063) |
| Luminance | 0.3781 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.15
Candy Pink
#FF63E9
ΔE00 2.48
Violet (CSS)
#EE82EE
ΔE00 4.06
Light Magenta
#FA5FF7
ΔE00 4.86
Violet Pink
#FB5FFC
ΔE00 5.35
Orchid
#DA70D6
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB71E2 #71FB8A
analogous
#CF71FB #FB71E2 #FB719D
triadic
#FB71E2 #E2FB71 #71E2FB
tetradic
#FB71E2 #FBCF71 #71FB8A #719DFB
square
#FB71E2 #FBCF71 #71FB8A #719DFB
split-complementary
#FB71E2 #9DFB71 #71FBCF
monochromatic
#EB07C2 #F935D6 #FB71E2 #FDADEE #FEE1F9
Accessibility & contrast
On white
2.45
#FB71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#FB71E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB71E2
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB71E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB71E2 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7198E6
Deuteranopia (green-blind)
#9AADDE
Tritanopia (blue-blind)
#FF79A0
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #fb71e2; /* rgb */ color: rgb(251, 113, 226); /* oklch */ color: oklch(75.0% 0.211 335.0);
Tailwind
colors: {
custom: {
50: '#ffa0eb',
500: '#fb71e2',
950: '#000000',
},
}SCSS
$custom: #fb71e2; $custom-light: #ffa0eb; $custom-dark: #000000;
JSON
{
"hex": "#fb71e2",
"rgb": {
"r": 251,
"g": 113,
"b": 226
},
"hsl": {
"h": 310.87,
"s": 94.521,
"l": 71.373
},
"oklch": {
"l": 0.75037,
"c": 0.21098,
"h": 335
},
"luminance": 0.3781
}Semantic roles & 50–950 ramp
primary
#FB71E2
secondary
#D2F6D8
accent
#E62A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84