#B31A51#B31A51
#B31A51 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 7.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A51 |
|---|---|
| RGB | rgb(179, 26, 81) |
| HSL | hsl(338, 75%, 40%) |
| HSV | hsv(338, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 54.7%, 29.8%) |
| CIE-LAB | lab(39.44, 60.61, 9.08) |
| CIE-LCH | lch(39.44, 61.28, 8.52°) |
| OKLab | oklab(50.22% 0.1849 0.0233) |
| OKLCH | oklch(50.22% 0.186 7.2) |
| XYZ | xyz(20.4470, 10.9196, 8.8140) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.76
Raspberry (survey)
#B00149
ΔE00 2.09
Deep Pink
#CB0162
ΔE00 5.10
Violet Red
#A50055
ΔE00 5.43
Light Burgundy
#A8415B
ΔE00 5.50
Berry
#990F4B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A51 #1AB37C
analogous
#B31A9E #B31A51 #B32F1A
triadic
#B31A51 #51B31A #1A51B3
tetradic
#B31A51 #9EB31A #1AB37C #2F1AB3
square
#B31A51 #9EB31A #1AB37C #2F1AB3
split-complementary
#B31A51 #1AB32F #1A9EB3
monochromatic
#480A21 #7E1239 #B31A51 #E02A6C #E86091
Accessibility & contrast
On white
6.60
#B31A51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31A51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A51
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A51 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#6E684D
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a51; /* rgb */ color: rgb(179, 26, 81); /* oklch */ color: oklch(50.2% 0.186 7.2);
Tailwind
colors: {
custom: {
50: '#d16b81',
500: '#b31a51',
950: '#000000',
},
}SCSS
$custom: #b31a51; $custom-light: #d16b81; $custom-dark: #000000;
JSON
{
"hex": "#b31a51",
"rgb": {
"r": 179,
"g": 26,
"b": 81
},
"hsl": {
"h": 338.431,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50216,
"c": 0.1864,
"h": 7.2
},
"luminance": 0.10917
}Semantic roles & 50–950 ramp
primary
#B31A51
secondary
#5DCCA4
accent
#F1AE37
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C