#B5305B#B5305B
#B5305B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.171 H 6.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B5305B |
|---|---|
| RGB | rgb(181, 48, 91) |
| HSL | hsl(341, 58%, 45%) |
| HSV | hsv(341, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 49.7%, 29%) |
| CIE-LAB | lab(42.30, 55.71, 6.85) |
| CIE-LCH | lch(42.30, 56.13, 7.01°) |
| OKLab | oklab(52.47% 0.1701 0.0179) |
| OKLCH | oklch(52.47% 0.171 6) |
| XYZ | xyz(22.0032, 12.6960, 11.1874) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.45
Deep Pink
#CB0162
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.75
Raspberry (survey)
#B00149
ΔE00 5.07
Dark Rose
#B5485D
ΔE00 5.26
Light Maroon
#A24857
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5305B #30B58A
analogous
#B5309D #B5305B #B54830
triadic
#B5305B #5BB530 #305BB5
tetradic
#B5305B #9DB530 #30B58A #4830B5
square
#B5305B #9DB530 #30B58A #4830B5
split-complementary
#B5305B #30B548 #309DB5
monochromatic
#54162A #852343 #B5305B #D1517B #DE829F
Accessibility & contrast
On white
5.93
#B5305B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B5305B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5305B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5305B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5305B | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50535C
Deuteranopia (green-blind)
#736D58
Tritanopia (blue-blind)
#C51342
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5305b; /* rgb */ color: rgb(181, 48, 91); /* oklch */ color: oklch(52.5% 0.171 6.0);
Tailwind
colors: {
custom: {
50: '#d17389',
500: '#b5305b',
950: '#000000',
},
}SCSS
$custom: #b5305b; $custom-light: #d17389; $custom-dark: #000000;
JSON
{
"hex": "#b5305b",
"rgb": {
"r": 181,
"g": 48,
"b": 91
},
"hsl": {
"h": 340.602,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52473,
"c": 0.17101,
"h": 6
},
"luminance": 0.12693
}Semantic roles & 50–950 ramp
primary
#B5305B
secondary
#7AC7AE
accent
#E1AF46
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C