#B5315B#B5315B
#B5315B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.170 H 6.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B5315B |
|---|---|
| RGB | rgb(181, 49, 91) |
| HSL | hsl(341, 57%, 45%) |
| HSV | hsv(341, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 49.7%, 29%) |
| CIE-LAB | lab(42.43, 55.36, 7.03) |
| CIE-LCH | lch(42.43, 55.80, 7.23°) |
| OKLab | oklab(52.57% 0.1689 0.0184) |
| OKLCH | oklch(52.57% 0.17 6.2) |
| XYZ | xyz(22.0446, 12.7787, 11.2012) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.33
Deep Pink
#CB0162
ΔE00 4.43
Purplish Red
#B0054B
ΔE00 4.86
Dark Rose
#B5485D
ΔE00 5.07
Raspberry (survey)
#B00149
ΔE00 5.18
Light Maroon
#A24857
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5315B #31B58B
analogous
#B5319D #B5315B #B54931
triadic
#B5315B #5BB531 #315BB5
tetradic
#B5315B #9DB531 #31B58B #4931B5
square
#B5315B #9DB531 #31B58B #4931B5
split-complementary
#B5315B #31B549 #319DB5
monochromatic
#55172B #852443 #B5315B #D0537B #DD83A0
Accessibility & contrast
On white
5.91
#B5315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#B5315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5315B
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5315B | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51535C
Deuteranopia (green-blind)
#736E58
Tritanopia (blue-blind)
#C51642
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5315b; /* rgb */ color: rgb(181, 49, 91); /* oklch */ color: oklch(52.6% 0.170 6.2);
Tailwind
colors: {
custom: {
50: '#d17489',
500: '#b5315b',
950: '#000000',
},
}SCSS
$custom: #b5315b; $custom-light: #d17489; $custom-dark: #000000;
JSON
{
"hex": "#b5315b",
"rgb": {
"r": 181,
"g": 49,
"b": 91
},
"hsl": {
"h": 340.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52566,
"c": 0.16994,
"h": 6.2
},
"luminance": 0.12776
}Semantic roles & 50–950 ramp
primary
#B5315B
secondary
#7BC7AF
accent
#E1B047
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C