#BB2F9D#BB2F9D
#BB2F9D is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.208 H 338.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #BB2F9D |
|---|---|
| RGB | rgb(187, 47, 157) |
| HSL | hsl(313, 60%, 46%) |
| HSV | hsv(313, 75%, 73%) |
| CMYK | cmyk(0%, 74.9%, 16%, 26.7%) |
| CIE-LAB | lab(45.68, 65.22, -28.46) |
| CIE-LCH | lch(45.68, 71.15, 336.43°) |
| OKLab | oklab(55.93% 0.1932 -0.0772) |
| OKLCH | oklch(55.93% 0.208 338.2) |
| XYZ | xyz(27.5965, 15.0348, 33.3404) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.64
Mediumvioletred
#C71585
ΔE00 5.73
Purpley Pink
#C83CB9
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 5.95
Barney
#AC1DB8
ΔE00 7.33
Warm Purple
#952E8F
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB2F9D #2FBB4D
analogous
#932FBB #BB2F9D #BB2F57
triadic
#BB2F9D #9DBB2F #2F9DBB
tetradic
#BB2F9D #BB932F #2FBB4D #2F57BB
square
#BB2F9D #BB932F #2FBB4D #2F57BB
split-complementary
#BB2F9D #57BB2F #2FBB93
monochromatic
#59164B #8A2374 #BB2F9D #D453B8 #E084CC
Accessibility & contrast
On white
5.24
#BB2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#BB2F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB2F9D
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB2F9D | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#C53663
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #bb2f9d; /* rgb */ color: rgb(187, 47, 157); /* oklch */ color: oklch(55.9% 0.208 338.2);
Tailwind
colors: {
custom: {
50: '#d376ba',
500: '#bb2f9d',
950: '#000000',
},
}SCSS
$custom: #bb2f9d; $custom-light: #d376ba; $custom-dark: #000000;
JSON
{
"hex": "#bb2f9d",
"rgb": {
"r": 187,
"g": 47,
"b": 157
},
"hsl": {
"h": 312.857,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.55932,
"c": 0.20805,
"h": 338.2
},
"luminance": 0.15032
}Semantic roles & 50–950 ramp
primary
#BB2F9D
secondary
#7CC98D
accent
#E36745
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80