#B31C51#B31C51
#B31C51 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 7.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C51 |
|---|---|
| RGB | rgb(179, 28, 81) |
| HSL | hsl(339, 73%, 41%) |
| HSV | hsv(339, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 54.7%, 29.8%) |
| CIE-LAB | lab(39.60, 60.17, 9.29) |
| CIE-LCH | lch(39.60, 60.88, 8.78°) |
| OKLab | oklab(50.33% 0.1835 0.0238) |
| OKLCH | oklch(50.33% 0.185 7.4) |
| XYZ | xyz(20.4929, 11.0113, 8.8293) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.89
Raspberry (survey)
#B00149
ΔE00 2.20
Deep Pink
#CB0162
ΔE00 5.12
Light Burgundy
#A8415B
ΔE00 5.34
Violet Red
#A50055
ΔE00 5.61
Ruby
#CA0147
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C51 #1CB37E
analogous
#B31C9D #B31C51 #B3321C
triadic
#B31C51 #51B31C #1C51B3
tetradic
#B31C51 #9DB31C #1CB37E #321CB3
square
#B31C51 #9DB31C #1CB37E #321CB3
split-complementary
#B31C51 #1CB332 #1C9DB3
monochromatic
#490B21 #7E1439 #B31C51 #DE2E6C #E76391
Accessibility & contrast
On white
6.56
#B31C51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B31C51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C51
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C51 | 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)
#484A52
Deuteranopia (green-blind)
#6E684D
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c51; /* rgb */ color: rgb(179, 28, 81); /* oklch */ color: oklch(50.3% 0.185 7.4);
Tailwind
colors: {
custom: {
50: '#d16b81',
500: '#b31c51',
950: '#000000',
},
}SCSS
$custom: #b31c51; $custom-light: #d16b81; $custom-dark: #000000;
JSON
{
"hex": "#b31c51",
"rgb": {
"r": 179,
"g": 28,
"b": 81
},
"hsl": {
"h": 338.94,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.5033,
"c": 0.18504,
"h": 7.4
},
"luminance": 0.11008
}Semantic roles & 50–950 ramp
primary
#B31C51
secondary
#5FCBA5
accent
#F0AF38
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C