#B31A53#B31A53
#B31A53 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.187 H 6.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A53 |
|---|---|
| RGB | rgb(179, 26, 83) |
| HSL | hsl(338, 75%, 40%) |
| HSV | hsv(338, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 53.6%, 29.8%) |
| CIE-LAB | lab(39.50, 60.76, 7.87) |
| CIE-LCH | lch(39.50, 61.27, 7.38°) |
| OKLab | oklab(50.27% 0.1857 0.0204) |
| OKLCH | oklch(50.27% 0.187 6.3) |
| XYZ | xyz(20.5231, 10.9500, 9.2148) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.01
Raspberry (survey)
#B00149
ΔE00 2.43
Deep Pink
#CB0162
ΔE00 4.82
Violet Red
#A50055
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.51
Berry
#990F4B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A53 #1AB37A
analogous
#B31A9F #B31A53 #B32D1A
triadic
#B31A53 #53B31A #1A53B3
tetradic
#B31A53 #9FB31A #1AB37A #2D1AB3
square
#B31A53 #9FB31A #1AB37A #2D1AB3
split-complementary
#B31A53 #1AB32D #1A9FB3
monochromatic
#480A21 #7E123A #B31A53 #E02A6E #E86092
Accessibility & contrast
On white
6.58
#B31A53 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31A53 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A53
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A53 | 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)
#464A54
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a53; /* rgb */ color: rgb(179, 26, 83); /* oklch */ color: oklch(50.3% 0.187 6.3);
Tailwind
colors: {
custom: {
50: '#d16b83',
500: '#b31a53',
950: '#000000',
},
}SCSS
$custom: #b31a53; $custom-light: #d16b83; $custom-dark: #000000;
JSON
{
"hex": "#b31a53",
"rgb": {
"r": 179,
"g": 26,
"b": 83
},
"hsl": {
"h": 337.647,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50271,
"c": 0.1868,
"h": 6.3
},
"luminance": 0.10947
}Semantic roles & 50–950 ramp
primary
#B31A53
secondary
#5DCCA3
accent
#F1AC37
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C