#B5305A#B5305A
#B5305A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 6.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B5305A |
|---|---|
| RGB | rgb(181, 48, 90) |
| HSL | hsl(341, 58%, 45%) |
| HSV | hsv(341, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 50.3%, 29%) |
| CIE-LAB | lab(42.28, 55.62, 7.43) |
| CIE-LCH | lch(42.28, 56.12, 7.61°) |
| OKLab | oklab(52.45% 0.1697 0.0194) |
| OKLCH | oklch(52.45% 0.171 6.5) |
| XYZ | xyz(21.9604, 12.6788, 10.9617) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.39
Deep Pink
#CB0162
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 4.66
Raspberry (survey)
#B00149
ΔE00 4.97
Dark Rose
#B5485D
ΔE00 5.12
Light Maroon
#A24857
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5305A #30B58B
analogous
#B5309C #B5305A #B54930
triadic
#B5305A #5AB530 #305AB5
tetradic
#B5305A #9CB530 #30B58B #4930B5
square
#B5305A #9CB530 #30B58B #4930B5
split-complementary
#B5305A #30B549 #309CB5
monochromatic
#54162A #852342 #B5305A #D1517A #DE829F
Accessibility & contrast
On white
5.94
#B5305A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B5305A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5305A
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5305A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5305A | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50535B
Deuteranopia (green-blind)
#736D57
Tritanopia (blue-blind)
#C51342
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5305a; /* rgb */ color: rgb(181, 48, 90); /* oklch */ color: oklch(52.4% 0.171 6.5);
Tailwind
colors: {
custom: {
50: '#d17388',
500: '#b5305a',
950: '#000000',
},
}SCSS
$custom: #b5305a; $custom-light: #d17388; $custom-dark: #000000;
JSON
{
"hex": "#b5305a",
"rgb": {
"r": 181,
"g": 48,
"b": 90
},
"hsl": {
"h": 341.053,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52445,
"c": 0.17079,
"h": 6.5
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#B5305A
secondary
#7AC7AF
accent
#E1B046
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C