#B5345B#B5345B
#B5345B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.167 H 6.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B5345B |
|---|---|
| RGB | rgb(181, 52, 91) |
| HSL | hsl(342, 55%, 46%) |
| HSV | hsv(342, 71%, 71%) |
| CMYK | cmyk(0%, 71.3%, 49.7%, 29%) |
| CIE-LAB | lab(42.82, 54.27, 7.58) |
| CIE-LCH | lch(42.82, 54.79, 7.95°) |
| OKLab | oklab(52.86% 0.1654 0.0198) |
| OKLCH | oklch(52.86% 0.167 6.8) |
| XYZ | xyz(22.1742, 13.0380, 11.2444) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.00
Dark Rose
#B5485D
ΔE00 4.50
Deep Pink
#CB0162
ΔE00 4.76
Purplish Red
#B0054B
ΔE00 5.24
Light Maroon
#A24857
ΔE00 5.47
Raspberry (survey)
#B00149
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5345B #34B58E
analogous
#B5349C #B5345B #B54D34
triadic
#B5345B #5BB534 #345BB5
tetradic
#B5345B #9CB534 #34B58E #4D34B5
square
#B5345B #9CB534 #34B58E #4D34B5
split-complementary
#B5345B #34B54D #349CB5
monochromatic
#56192B #852643 #B5345B #CF577B #DC87A1
Accessibility & contrast
On white
5.82
#B5345B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#B5345B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5345B
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5345B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5345B | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52555C
Deuteranopia (green-blind)
#746F58
Tritanopia (blue-blind)
#C51B44
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5345b; /* rgb */ color: rgb(181, 52, 91); /* oklch */ color: oklch(52.9% 0.167 6.8);
Tailwind
colors: {
custom: {
50: '#d17589',
500: '#b5345b',
950: '#000000',
},
}SCSS
$custom: #b5345b; $custom-light: #d17589; $custom-dark: #000000;
JSON
{
"hex": "#b5345b",
"rgb": {
"r": 181,
"g": 52,
"b": 91
},
"hsl": {
"h": 341.86,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.52857,
"c": 0.16662,
"h": 6.8
},
"luminance": 0.13035
}Semantic roles & 50–950 ramp
primary
#B5345B
secondary
#7FC6B1
accent
#DFB149
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C