#B5345C#B5345C
#B5345C is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.9% C 0.167 H 6.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B5345C |
|---|---|
| RGB | rgb(181, 52, 92) |
| HSL | hsl(341, 55%, 46%) |
| HSV | hsv(341, 71%, 71%) |
| CMYK | cmyk(0%, 71.3%, 49.2%, 29%) |
| CIE-LAB | lab(42.85, 54.36, 6.99) |
| CIE-LCH | lch(42.85, 54.80, 7.33°) |
| OKLab | oklab(52.88% 0.1658 0.0183) |
| OKLCH | oklch(52.88% 0.167 6.3) |
| XYZ | xyz(22.2177, 13.0554, 11.4731) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.05
Deep Pink
#CB0162
ΔE00 4.63
Dark Rose
#B5485D
ΔE00 4.65
Purplish Red
#B0054B
ΔE00 5.31
Light Maroon
#A24857
ΔE00 5.61
Raspberry (survey)
#B00149
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5345C #34B58D
analogous
#B5349C #B5345C #B54C34
triadic
#B5345C #5CB534 #345CB5
tetradic
#B5345C #9CB534 #34B58D #4C34B5
square
#B5345C #9CB534 #34B58D #4C34B5
split-complementary
#B5345C #34B54C #349CB5
monochromatic
#56192C #852644 #B5345C #CF577C #DC87A1
Accessibility & contrast
On white
5.82
#B5345C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#B5345C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5345C
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5345C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5345C | 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)
#52555D
Deuteranopia (green-blind)
#746F59
Tritanopia (blue-blind)
#C51C44
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5345c; /* rgb */ color: rgb(181, 52, 92); /* oklch */ color: oklch(52.9% 0.167 6.3);
Tailwind
colors: {
custom: {
50: '#d17589',
500: '#b5345c',
950: '#000000',
},
}SCSS
$custom: #b5345c; $custom-light: #d17589; $custom-dark: #000000;
JSON
{
"hex": "#b5345c",
"rgb": {
"r": 181,
"g": 52,
"b": 92
},
"hsl": {
"h": 341.395,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.52884,
"c": 0.16682,
"h": 6.3
},
"luminance": 0.13052
}Semantic roles & 50–950 ramp
primary
#B5345C
secondary
#7FC6B0
accent
#DFB049
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C