#B31A56#B31A56
#B31A56 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 4.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A56 |
|---|---|
| RGB | rgb(179, 26, 86) |
| HSL | hsl(336, 75%, 40%) |
| HSV | hsv(336, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 52%, 29.8%) |
| CIE-LAB | lab(39.58, 60.99, 6.08) |
| CIE-LCH | lch(39.58, 61.29, 5.69°) |
| OKLab | oklab(50.36% 0.1868 0.016) |
| OKLCH | oklch(50.36% 0.187 4.9) |
| XYZ | xyz(20.6415, 10.9974, 9.8381) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.59
Raspberry (survey)
#B00149
ΔE00 3.06
Deep Pink
#CB0162
ΔE00 4.51
Violet Red
#A50055
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 5.63
Berry
#990F4B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A56 #1AB377
analogous
#B31AA2 #B31A56 #B32B1A
triadic
#B31A56 #56B31A #1A56B3
tetradic
#B31A56 #A2B31A #1AB377 #2B1AB3
square
#B31A56 #A2B31A #1AB377 #2B1AB3
split-complementary
#B31A56 #1AB32B #1AA2B3
monochromatic
#480A23 #7E123C #B31A56 #E02A71 #E86095
Accessibility & contrast
On white
6.56
#B31A56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B31A56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A56
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A56 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A57
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a56; /* rgb */ color: rgb(179, 26, 86); /* oklch */ color: oklch(50.4% 0.187 4.9);
Tailwind
colors: {
custom: {
50: '#d06b85',
500: '#b31a56',
950: '#000000',
},
}SCSS
$custom: #b31a56; $custom-light: #d06b85; $custom-dark: #000000;
JSON
{
"hex": "#b31a56",
"rgb": {
"r": 179,
"g": 26,
"b": 86
},
"hsl": {
"h": 336.471,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50355,
"c": 0.18747,
"h": 4.9
},
"luminance": 0.10994
}Semantic roles & 50–950 ramp
primary
#B31A56
secondary
#5DCCA0
accent
#F1A837
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C