#B5305C#B5305C
#B5305C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.171 H 5.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B5305C |
|---|---|
| RGB | rgb(181, 48, 92) |
| HSL | hsl(340, 58%, 45%) |
| HSV | hsv(340, 73%, 71%) |
| CMYK | cmyk(0%, 73.5%, 49.2%, 29%) |
| CIE-LAB | lab(42.33, 55.80, 6.26) |
| CIE-LCH | lch(42.33, 56.15, 6.40°) |
| OKLab | oklab(52.5% 0.1704 0.0165) |
| OKLCH | oklch(52.5% 0.171 5.5) |
| XYZ | xyz(22.0466, 12.7133, 11.4161) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.53
Deep Pink
#CB0162
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 5.19
Dark Rose
#B5485D
ΔE00 5.41
Light Maroon
#A24857
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5305C #30B589
analogous
#B5309F #B5305C #B54630
triadic
#B5305C #5CB530 #305CB5
tetradic
#B5305C #9FB530 #30B589 #4630B5
square
#B5305C #9FB530 #30B589 #4630B5
split-complementary
#B5305C #30B546 #309FB5
monochromatic
#54162B #852343 #B5305C #D1517C #DE82A0
Accessibility & contrast
On white
5.93
#B5305C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B5305C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5305C
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5305C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5305C | 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)
#50535D
Deuteranopia (green-blind)
#736D59
Tritanopia (blue-blind)
#C51442
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5305c; /* rgb */ color: rgb(181, 48, 92); /* oklch */ color: oklch(52.5% 0.171 5.5);
Tailwind
colors: {
custom: {
50: '#d17389',
500: '#b5305c',
950: '#000000',
},
}SCSS
$custom: #b5305c; $custom-light: #d17389; $custom-dark: #000000;
JSON
{
"hex": "#b5305c",
"rgb": {
"r": 181,
"g": 48,
"b": 92
},
"hsl": {
"h": 340.15,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.52501,
"c": 0.17123,
"h": 5.5
},
"luminance": 0.1271
}Semantic roles & 50–950 ramp
primary
#B5305C
secondary
#7AC7AD
accent
#E1AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C