#B5306B#B5306B
#B5306B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.176 H 358.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B5306B |
|---|---|
| RGB | rgb(181, 48, 107) |
| HSL | hsl(333, 58%, 45%) |
| HSV | hsv(333, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 40.9%, 29%) |
| CIE-LAB | lab(42.77, 57.23, -2.47) |
| CIE-LCH | lch(42.77, 57.28, 357.53°) |
| OKLab | oklab(52.97% 0.1757 -0.0058) |
| OKLCH | oklch(52.97% 0.176 358.1) |
| XYZ | xyz(22.7685, 13.0021, 15.2177) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.70
Deep Pink
#CB0162
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 6.24
Mediumvioletred
#C71585
ΔE00 6.27
Violet Red
#A50055
ΔE00 6.68
Dark Hot Pink
#D90166
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5306B #30B57A
analogous
#B530AE #B5306B #B53730
triadic
#B5306B #6BB530 #306BB5
tetradic
#B5306B #AEB530 #30B57A #3730B5
square
#B5306B #AEB530 #30B57A #3730B5
split-complementary
#B5306B #30B537 #30AEB5
monochromatic
#541632 #85234E #B5306B #D1518A #DE82AB
Accessibility & contrast
On white
5.83
#B5306B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B5306B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5306B
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5306B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5306B | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C556D
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C41E49
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5306b; /* rgb */ color: rgb(181, 48, 107); /* oklch */ color: oklch(53.0% 0.176 358.1);
Tailwind
colors: {
custom: {
50: '#d07495',
500: '#b5306b',
950: '#000000',
},
}SCSS
$custom: #b5306b; $custom-light: #d07495; $custom-dark: #000000;
JSON
{
"hex": "#b5306b",
"rgb": {
"r": 181,
"g": 48,
"b": 107
},
"hsl": {
"h": 333.383,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52967,
"c": 0.17574,
"h": 358.1
},
"luminance": 0.12999
}Semantic roles & 50–950 ramp
primary
#B5306B
secondary
#7AC7A5
accent
#E19D46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E