#BB2FA1#BB2FA1
#BB2FA1 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.211 H 336.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BB2FA1 |
|---|---|
| RGB | rgb(187, 47, 161) |
| HSL | hsl(311, 60%, 46%) |
| HSV | hsv(311, 75%, 73%) |
| CMYK | cmyk(0%, 74.9%, 13.9%, 26.7%) |
| CIE-LAB | lab(45.87, 65.78, -30.55) |
| CIE-LCH | lch(45.87, 72.53, 335.09°) |
| OKLab | oklab(56.13% 0.1936 -0.0832) |
| OKLCH | oklch(56.13% 0.211 336.8) |
| XYZ | xyz(27.9436, 15.1736, 35.1684) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.36
Purpley Pink
#C83CB9
ΔE00 5.27
Medium Purple
#9E43A2
ΔE00 5.62
Mediumvioletred
#C71585
ΔE00 6.43
Barney
#AC1DB8
ΔE00 6.72
Warm Purple
#952E8F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB2FA1 #2FBB49
analogous
#8F2FBB #BB2FA1 #BB2F5B
triadic
#BB2FA1 #A1BB2F #2FA1BB
tetradic
#BB2FA1 #BB8F2F #2FBB49 #2F5BBB
square
#BB2FA1 #BB8F2F #2FBB49 #2F5BBB
split-complementary
#BB2FA1 #5BBB2F #2FBB8F
monochromatic
#59164D #8A2377 #BB2FA1 #D453BC #E084CF
Accessibility & contrast
On white
5.21
#BB2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#BB2FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB2FA1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB2FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB2FA1 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#C53865
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #bb2fa1; /* rgb */ color: rgb(187, 47, 161); /* oklch */ color: oklch(56.1% 0.211 336.8);
Tailwind
colors: {
custom: {
50: '#d376bd',
500: '#bb2fa1',
950: '#000000',
},
}SCSS
$custom: #bb2fa1; $custom-light: #d376bd; $custom-dark: #000000;
JSON
{
"hex": "#bb2fa1",
"rgb": {
"r": 187,
"g": 47,
"b": 161
},
"hsl": {
"h": 311.143,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.5613,
"c": 0.21072,
"h": 336.8
},
"luminance": 0.15171
}Semantic roles & 50–950 ramp
primary
#BB2FA1
secondary
#7CC98B
accent
#E36245
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81