#B5345D#B5345D
#B5345D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.9% C 0.167 H 5.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B5345D |
|---|---|
| RGB | rgb(181, 52, 93) |
| HSL | hsl(341, 55%, 46%) |
| HSV | hsv(341, 71%, 71%) |
| CMYK | cmyk(0%, 71.3%, 48.6%, 29%) |
| CIE-LAB | lab(42.87, 54.44, 6.41) |
| CIE-LCH | lch(42.87, 54.82, 6.71°) |
| OKLab | oklab(52.91% 0.1662 0.0169) |
| OKLCH | oklch(52.91% 0.167 5.8) |
| XYZ | xyz(22.2617, 13.0730, 11.7049) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.13
Deep Pink
#CB0162
ΔE00 4.51
Dark Rose
#B5485D
ΔE00 4.81
Purplish Red
#B0054B
ΔE00 5.39
Raspberry (survey)
#B00149
ΔE00 5.72
Light Maroon
#A24857
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5345D #34B58C
analogous
#B5349D #B5345D #B54B34
triadic
#B5345D #5DB534 #345DB5
tetradic
#B5345D #9DB534 #34B58C #4B34B5
square
#B5345D #9DB534 #34B58C #4B34B5
split-complementary
#B5345D #34B54B #349DB5
monochromatic
#56192C #852645 #B5345D #CF577D #DC87A2
Accessibility & contrast
On white
5.81
#B5345D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#B5345D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5345D
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5345D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5345D | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52555E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#C51C45
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5345d; /* rgb */ color: rgb(181, 52, 93); /* oklch */ color: oklch(52.9% 0.167 5.8);
Tailwind
colors: {
custom: {
50: '#d1758a',
500: '#b5345d',
950: '#000000',
},
}SCSS
$custom: #b5345d; $custom-light: #d1758a; $custom-dark: #000000;
JSON
{
"hex": "#b5345d",
"rgb": {
"r": 181,
"g": 52,
"b": 93
},
"hsl": {
"h": 340.93,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.52913,
"c": 0.16704,
"h": 5.8
},
"luminance": 0.1307
}Semantic roles & 50–950 ramp
primary
#B5345D
secondary
#7FC6AF
accent
#DFAF49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C