#B31A54#B31A54
#B31A54 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.187 H 5.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A54 |
|---|---|
| RGB | rgb(179, 26, 84) |
| HSL | hsl(337, 75%, 40%) |
| HSV | hsv(337, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 53.1%, 29.8%) |
| CIE-LAB | lab(39.52, 60.83, 7.27) |
| CIE-LCH | lch(39.52, 61.27, 6.82°) |
| OKLab | oklab(50.3% 0.1861 0.0189) |
| OKLCH | oklch(50.3% 0.187 5.8) |
| XYZ | xyz(20.5620, 10.9656, 9.4196) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.18
Raspberry (survey)
#B00149
ΔE00 2.62
Deep Pink
#CB0162
ΔE00 4.70
Violet Red
#A50055
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 5.54
Berry
#990F4B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A54 #1AB379
analogous
#B31AA0 #B31A54 #B32D1A
triadic
#B31A54 #54B31A #1A54B3
tetradic
#B31A54 #A0B31A #1AB379 #2D1AB3
square
#B31A54 #A0B31A #1AB379 #2D1AB3
split-complementary
#B31A54 #1AB32D #1AA0B3
monochromatic
#480A22 #7E123B #B31A54 #E02A6F #E86093
Accessibility & contrast
On white
6.58
#B31A54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31A54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A54
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A54 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6D6850
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a54; /* rgb */ color: rgb(179, 26, 84); /* oklch */ color: oklch(50.3% 0.187 5.8);
Tailwind
colors: {
custom: {
50: '#d06b83',
500: '#b31a54',
950: '#000000',
},
}SCSS
$custom: #b31a54; $custom-light: #d06b83; $custom-dark: #000000;
JSON
{
"hex": "#b31a54",
"rgb": {
"r": 179,
"g": 26,
"b": 84
},
"hsl": {
"h": 337.255,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50298,
"c": 0.18702,
"h": 5.8
},
"luminance": 0.10963
}Semantic roles & 50–950 ramp
primary
#B31A54
secondary
#5DCCA2
accent
#F1AA37
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C