#BB508E#BB508E
#BB508E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.8% C 0.154 H 347.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BB508E |
|---|---|
| RGB | rgb(187, 80, 142) |
| HSL | hsl(325, 44%, 52%) |
| HSV | hsv(325, 57%, 73%) |
| CMYK | cmyk(0%, 57.2%, 24.1%, 26.7%) |
| CIE-LAB | lab(49.81, 50.01, -13.15) |
| CIE-LCH | lch(49.81, 51.71, 345.27°) |
| OKLab | oklab(58.75% 0.1505 -0.0346) |
| OKLCH | oklch(58.75% 0.154 347.1) |
| XYZ | xyz(28.2456, 18.2577, 27.6224) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.17
Purplish Pink
#CE5DAE
ΔE00 7.23
Mediumvioletred
#C71585
ΔE00 7.49
Purpleish
#98568D
ΔE00 7.52
Darkish Pink
#DA467D
ΔE00 8.38
Purplish
#94568C
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB508E #50BB7D
analogous
#B350BB #BB508E #BB5058
triadic
#BB508E #8EBB50 #508EBB
tetradic
#BB508E #BBB350 #50BB7D #5058BB
square
#BB508E #BBB350 #50BB7D #5058BB
split-complementary
#BB508E #58BB50 #50BBB3
monochromatic
#68284D #943A6E #BB508E #CC7CAA #DDA8C7
Accessibility & contrast
On white
4.52
#BB508E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#BB508E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BB508E
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB508E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB508E | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#C74E69
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #bb508e; /* rgb */ color: rgb(187, 80, 142); /* oklch */ color: oklch(58.8% 0.154 347.1);
Tailwind
colors: {
custom: {
50: '#d286af',
500: '#bb508e',
950: '#000000',
},
}SCSS
$custom: #bb508e; $custom-light: #d286af; $custom-dark: #000000;
JSON
{
"hex": "#bb508e",
"rgb": {
"r": 187,
"g": 80,
"b": 142
},
"hsl": {
"h": 325.234,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.58752,
"c": 0.15446,
"h": 347.1
},
"luminance": 0.18255
}Semantic roles & 50–950 ramp
primary
#BB508E
secondary
#9CCBB0
accent
#D48A54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F