#B5316F#B5316F
#B5316F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.176 H 356.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B5316F |
|---|---|
| RGB | rgb(181, 49, 111) |
| HSL | hsl(332, 57%, 45%) |
| HSV | hsv(332, 73%, 71%) |
| CMYK | cmyk(0%, 72.9%, 38.7%, 29%) |
| CIE-LAB | lab(43.02, 57.30, -4.58) |
| CIE-LCH | lch(43.02, 57.48, 355.43°) |
| OKLab | oklab(53.2% 0.1758 -0.0113) |
| OKLCH | oklch(53.2% 0.176 356.3) |
| XYZ | xyz(23.0252, 13.1709, 16.3656) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.13
Mediumvioletred
#C71585
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.50
Light Burgundy
#A8415B
ΔE00 7.03
Violet Red
#A50055
ΔE00 7.14
Deep Magenta
#A0025C
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5316F #31B577
analogous
#B531B1 #B5316F #B53531
triadic
#B5316F #6FB531 #316FB5
tetradic
#B5316F #B1B531 #31B577 #3531B5
square
#B5316F #B1B531 #31B577 #3531B5
split-complementary
#B5316F #31B535 #31B1B5
monochromatic
#551734 #852451 #B5316F #D0538E #DD83AD
Accessibility & contrast
On white
5.78
#B5316F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#B5316F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5316F
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5316F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5316F | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#6F6F6C
Tritanopia (blue-blind)
#C4224C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b5316f; /* rgb */ color: rgb(181, 49, 111); /* oklch */ color: oklch(53.2% 0.176 356.3);
Tailwind
colors: {
custom: {
50: '#d07498',
500: '#b5316f',
950: '#000000',
},
}SCSS
$custom: #b5316f; $custom-light: #d07498; $custom-dark: #000000;
JSON
{
"hex": "#b5316f",
"rgb": {
"r": 181,
"g": 49,
"b": 111
},
"hsl": {
"h": 331.818,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.53196,
"c": 0.17616,
"h": 356.3
},
"luminance": 0.13168
}Semantic roles & 50–950 ramp
primary
#B5316F
secondary
#7BC7A3
accent
#E19947
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E