#B5315A#B5315A
#B5315A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.170 H 6.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B5315A |
|---|---|
| RGB | rgb(181, 49, 90) |
| HSL | hsl(341, 57%, 45%) |
| HSV | hsv(341, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 50.3%, 29%) |
| CIE-LAB | lab(42.40, 55.27, 7.61) |
| CIE-LCH | lch(42.40, 55.79, 7.84°) |
| OKLab | oklab(52.54% 0.1686 0.0198) |
| OKLCH | oklch(52.54% 0.17 6.7) |
| XYZ | xyz(22.0017, 12.7615, 10.9755) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.28
Deep Pink
#CB0162
ΔE00 4.57
Purplish Red
#B0054B
ΔE00 4.78
Dark Rose
#B5485D
ΔE00 4.93
Raspberry (survey)
#B00149
ΔE00 5.08
Light Maroon
#A24857
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5315A #31B58C
analogous
#B5319C #B5315A #B54A31
triadic
#B5315A #5AB531 #315AB5
tetradic
#B5315A #9CB531 #31B58C #4A31B5
square
#B5315A #9CB531 #31B58C #4A31B5
split-complementary
#B5315A #31B54A #319CB5
monochromatic
#55172A #852442 #B5315A #D0537A #DD839F
Accessibility & contrast
On white
5.91
#B5315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B5315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5315A
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5315A | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51535B
Deuteranopia (green-blind)
#736E57
Tritanopia (blue-blind)
#C51542
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5315a; /* rgb */ color: rgb(181, 49, 90); /* oklch */ color: oklch(52.5% 0.170 6.7);
Tailwind
colors: {
custom: {
50: '#d17488',
500: '#b5315a',
950: '#000000',
},
}SCSS
$custom: #b5315a; $custom-light: #d17488; $custom-dark: #000000;
JSON
{
"hex": "#b5315a",
"rgb": {
"r": 181,
"g": 49,
"b": 90
},
"hsl": {
"h": 341.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52538,
"c": 0.16972,
"h": 6.7
},
"luminance": 0.12759
}Semantic roles & 50–950 ramp
primary
#B5315A
secondary
#7BC7AF
accent
#E1B147
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C