#BB399F#BB399F
#BB399F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.198 H 337.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BB399F |
|---|---|
| RGB | rgb(187, 57, 159) |
| HSL | hsl(313, 53%, 48%) |
| HSV | hsv(313, 70%, 73%) |
| CMYK | cmyk(0%, 69.5%, 15%, 26.7%) |
| CIE-LAB | lab(46.97, 62.12, -27.64) |
| CIE-LCH | lch(46.97, 67.99, 336.01°) |
| OKLab | oklab(56.9% 0.1833 -0.075) |
| OKLCH | oklch(56.9% 0.198 337.8) |
| XYZ | xyz(28.2152, 15.9968, 34.3959) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.53
Purpley Pink
#C83CB9
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 5.93
Mediumvioletred
#C71585
ΔE00 6.28
Pinky Purple
#C94CBE
ΔE00 7.01
Barney
#AC1DB8
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB399F #39BB55
analogous
#9639BB #BB399F #BB395E
triadic
#BB399F #9FBB39 #399FBB
tetradic
#BB399F #BB9639 #39BB55 #395EBB
square
#BB399F #BB9639 #39BB55 #395EBB
split-complementary
#BB399F #5EBB39 #39BB96
monochromatic
#5D1C4F #8C2B77 #BB399F #CF62B8 #DD91CD
Accessibility & contrast
On white
5.00
#BB399F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#BB399F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB399F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB399F | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E63A2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#C53F67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #bb399f; /* rgb */ color: rgb(187, 57, 159); /* oklch */ color: oklch(56.9% 0.198 337.8);
Tailwind
colors: {
custom: {
50: '#d37abb',
500: '#bb399f',
950: '#000000',
},
}SCSS
$custom: #bb399f; $custom-light: #d37abb; $custom-dark: #000000;
JSON
{
"hex": "#bb399f",
"rgb": {
"r": 187,
"g": 57,
"b": 159
},
"hsl": {
"h": 312.923,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.56895,
"c": 0.19803,
"h": 337.8
},
"luminance": 0.15994
}Semantic roles & 50–950 ramp
primary
#BB399F
secondary
#87C895
accent
#DD6A4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81