#B5306A#B5306A
#B5306A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.175 H 358.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B5306A |
|---|---|
| RGB | rgb(181, 48, 106) |
| HSL | hsl(334, 58%, 45%) |
| HSV | hsv(334, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 41.4%, 29%) |
| CIE-LAB | lab(42.73, 57.12, -1.89) |
| CIE-LCH | lch(42.73, 57.16, 358.10°) |
| OKLab | oklab(52.93% 0.1753 -0.0043) |
| OKLCH | oklch(52.93% 0.175 358.6) |
| XYZ | xyz(22.7162, 12.9811, 14.9423) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.70
Magenta (survey)
#C20078
ΔE00 4.90
Light Burgundy
#A8415B
ΔE00 6.02
Mediumvioletred
#C71585
ΔE00 6.50
Violet Red
#A50055
ΔE00 6.61
Dark Hot Pink
#D90166
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5306A #30B57B
analogous
#B530AC #B5306A #B53930
triadic
#B5306A #6AB530 #306AB5
tetradic
#B5306A #ACB530 #30B57B #3930B5
square
#B5306A #ACB530 #30B57B #3930B5
split-complementary
#B5306A #30B539 #30ACB5
monochromatic
#541631 #85234E #B5306A #D15189 #DE82AA
Accessibility & contrast
On white
5.84
#B5306A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B5306A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5306A
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5306A | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C556B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C41D49
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5306a; /* rgb */ color: rgb(181, 48, 106); /* oklch */ color: oklch(52.9% 0.175 358.6);
Tailwind
colors: {
custom: {
50: '#d07494',
500: '#b5306a',
950: '#000000',
},
}SCSS
$custom: #b5306a; $custom-light: #d07494; $custom-dark: #000000;
JSON
{
"hex": "#b5306a",
"rgb": {
"r": 181,
"g": 48,
"b": 106
},
"hsl": {
"h": 333.835,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52934,
"c": 0.17537,
"h": 358.6
},
"luminance": 0.12978
}Semantic roles & 50–950 ramp
primary
#B5306A
secondary
#7AC7A5
accent
#E19E46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E