#BB508A#BB508A
#BB508A is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.6% C 0.152 H 349.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BB508A |
|---|---|
| RGB | rgb(187, 80, 138) |
| HSL | hsl(327, 44%, 52%) |
| HSV | hsv(327, 57%, 73%) |
| CMYK | cmyk(0%, 57.2%, 26.2%, 26.7%) |
| CIE-LAB | lab(49.67, 49.46, -10.97) |
| CIE-LCH | lch(49.67, 50.66, 347.49°) |
| OKLab | oklab(58.6% 0.1494 -0.0287) |
| OKLCH | oklch(58.6% 0.152 349.1) |
| XYZ | xyz(27.9506, 18.1397, 26.0691) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.13
Mediumvioletred
#C71585
ΔE00 7.54
Darkish Pink
#DA467D
ΔE00 7.70
Purplish Pink
#CE5DAE
ΔE00 7.90
Purpleish
#98568D
ΔE00 7.92
Purplish
#94568C
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB508A #50BB81
analogous
#B750BB #BB508A #BB5054
triadic
#BB508A #8ABB50 #508ABB
tetradic
#BB508A #BBB750 #50BB81 #5054BB
square
#BB508A #BBB750 #50BB81 #5054BB
split-complementary
#BB508A #54BB50 #50BBB7
monochromatic
#68284B #943A6B #BB508A #CC7CA7 #DDA8C5
Accessibility & contrast
On white
4.54
#BB508A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#BB508A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BB508A
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB508A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB508A | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#C74C67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #bb508a; /* rgb */ color: rgb(187, 80, 138); /* oklch */ color: oklch(58.6% 0.152 349.1);
Tailwind
colors: {
custom: {
50: '#d286ac',
500: '#bb508a',
950: '#000000',
},
}SCSS
$custom: #bb508a; $custom-light: #d286ac; $custom-dark: #000000;
JSON
{
"hex": "#bb508a",
"rgb": {
"r": 187,
"g": 80,
"b": 138
},
"hsl": {
"h": 327.477,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.586,
"c": 0.15214,
"h": 349.1
},
"luminance": 0.18137
}Semantic roles & 50–950 ramp
primary
#BB508A
secondary
#9CCBB1
accent
#D48F54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F