#B5315F#B5315F
#B5315F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.171 H 4.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B5315F |
|---|---|
| RGB | rgb(181, 49, 95) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 47.5%, 29%) |
| CIE-LAB | lab(42.54, 55.71, 4.68) |
| CIE-LCH | lch(42.54, 55.91, 4.80°) |
| OKLab | oklab(52.68% 0.1704 0.0126) |
| OKLCH | oklch(52.68% 0.171 4.2) |
| XYZ | xyz(22.2217, 12.8495, 12.1343) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.75
Deep Pink
#CB0162
ΔE00 4.09
Purplish Red
#B0054B
ΔE00 5.32
Raspberry (survey)
#B00149
ΔE00 5.71
Dark Rose
#B5485D
ΔE00 5.73
Dark Hot Pink
#D90166
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5315F #31B587
analogous
#B531A1 #B5315F #B54531
triadic
#B5315F #5FB531 #315FB5
tetradic
#B5315F #A1B531 #31B587 #4531B5
square
#B5315F #A1B531 #31B587 #4531B5
split-complementary
#B5315F #31B545 #31A1B5
monochromatic
#55172C #852446 #B5315F #D0537F #DD83A2
Accessibility & contrast
On white
5.88
#B5315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B5315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5315F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5315F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#C51844
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5315f; /* rgb */ color: rgb(181, 49, 95); /* oklch */ color: oklch(52.7% 0.171 4.2);
Tailwind
colors: {
custom: {
50: '#d1748c',
500: '#b5315f',
950: '#000000',
},
}SCSS
$custom: #b5315f; $custom-light: #d1748c; $custom-dark: #000000;
JSON
{
"hex": "#b5315f",
"rgb": {
"r": 181,
"g": 49,
"b": 95
},
"hsl": {
"h": 339.091,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.52681,
"c": 0.17087,
"h": 4.2
},
"luminance": 0.12847
}Semantic roles & 50–950 ramp
primary
#B5315F
secondary
#7BC7AC
accent
#E1AB47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D