#BB398B#BB398B
#BB398B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.185 H 346.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BB398B |
|---|---|
| RGB | rgb(187, 57, 139) |
| HSL | hsl(322, 53%, 48%) |
| HSV | hsv(322, 70%, 73%) |
| CMYK | cmyk(0%, 69.5%, 25.7%, 26.7%) |
| CIE-LAB | lab(46.12, 59.37, -16.95) |
| CIE-LCH | lch(46.12, 61.74, 344.07°) |
| OKLab | oklab(56% 0.1797 -0.0449) |
| OKLCH | oklch(56% 0.185 346) |
| XYZ | xyz(26.6179, 15.3579, 25.9837) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.51
Magenta (survey)
#C20078
ΔE00 5.47
Ugly Purple
#A442A0
ΔE00 7.38
Light Plum
#9D5783
ΔE00 7.81
Purpleish
#98568D
ΔE00 8.24
Purpley Pink
#C83CB9
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB398B #39BB69
analogous
#AA39BB #BB398B #BB394A
triadic
#BB398B #8BBB39 #398BBB
tetradic
#BB398B #BBAA39 #39BB69 #394ABB
square
#BB398B #BBAA39 #39BB69 #394ABB
split-complementary
#BB398B #4ABB39 #39BBAA
monochromatic
#5D1C45 #8C2B68 #BB398B #CF62A7 #DD91C1
Accessibility & contrast
On white
5.16
#BB398B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#BB398B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB398B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB398B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB398B | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#C8365D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #bb398b; /* rgb */ color: rgb(187, 57, 139); /* oklch */ color: oklch(56.0% 0.185 346.0);
Tailwind
colors: {
custom: {
50: '#d37aad',
500: '#bb398b',
950: '#000000',
},
}SCSS
$custom: #bb398b; $custom-light: #d37aad; $custom-dark: #000000;
JSON
{
"hex": "#bb398b",
"rgb": {
"r": 187,
"g": 57,
"b": 139
},
"hsl": {
"h": 322.154,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.55998,
"c": 0.18523,
"h": 346
},
"luminance": 0.15355
}Semantic roles & 50–950 ramp
primary
#BB398B
secondary
#87C89F
accent
#DD814B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F