#B5306F#B5306F
#B5306F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 356.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B5306F |
|---|---|
| RGB | rgb(181, 48, 111) |
| HSL | hsl(332, 58%, 45%) |
| HSV | hsv(332, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 38.7%, 29%) |
| CIE-LAB | lab(42.90, 57.64, -4.76) |
| CIE-LCH | lch(42.90, 57.84, 355.28°) |
| OKLab | oklab(53.11% 0.1769 -0.0118) |
| OKLCH | oklch(53.11% 0.177 356.2) |
| XYZ | xyz(22.9838, 13.0882, 16.3518) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.00
Mediumvioletred
#C71585
ΔE00 5.40
Deep Pink
#CB0162
ΔE00 5.51
Violet Red
#A50055
ΔE00 7.04
Light Burgundy
#A8415B
ΔE00 7.14
Deep Magenta
#A0025C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5306F #30B576
analogous
#B530B2 #B5306F #B53330
triadic
#B5306F #6FB530 #306FB5
tetradic
#B5306F #B2B530 #30B576 #3330B5
square
#B5306F #B2B530 #30B576 #3330B5
split-complementary
#B5306F #30B533 #30B2B5
monochromatic
#541634 #852351 #B5306F #D1518E #DE82AD
Accessibility & contrast
On white
5.81
#B5306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#B5306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5306F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5306F | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6F6E6C
Tritanopia (blue-blind)
#C4204B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5306f; /* rgb */ color: rgb(181, 48, 111); /* oklch */ color: oklch(53.1% 0.177 356.2);
Tailwind
colors: {
custom: {
50: '#d07498',
500: '#b5306f',
950: '#000000',
},
}SCSS
$custom: #b5306f; $custom-light: #d07498; $custom-dark: #000000;
JSON
{
"hex": "#b5306f",
"rgb": {
"r": 181,
"g": 48,
"b": 111
},
"hsl": {
"h": 331.579,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.53105,
"c": 0.1773,
"h": 356.2
},
"luminance": 0.13085
}Semantic roles & 50–950 ramp
primary
#B5306F
secondary
#7AC7A2
accent
#E19846
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E