#B31C56#B31C56
#B31C56 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 5.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C56 |
|---|---|
| RGB | rgb(179, 28, 86) |
| HSL | hsl(337, 73%, 41%) |
| HSV | hsv(337, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 52%, 29.8%) |
| CIE-LAB | lab(39.73, 60.55, 6.29) |
| CIE-LCH | lch(39.73, 60.87, 5.93°) |
| OKLab | oklab(50.47% 0.1854 0.0165) |
| OKLCH | oklch(50.47% 0.186 5.1) |
| XYZ | xyz(20.6873, 11.0891, 9.8534) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.62
Raspberry (survey)
#B00149
ΔE00 3.08
Deep Pink
#CB0162
ΔE00 4.49
Violet Red
#A50055
ΔE00 4.70
Light Burgundy
#A8415B
ΔE00 5.45
Berry
#990F4B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C56 #1CB379
analogous
#B31CA1 #B31C56 #B32E1C
triadic
#B31C56 #56B31C #1C56B3
tetradic
#B31C56 #A1B31C #1CB379 #2E1CB3
square
#B31C56 #A1B31C #1CB379 #2E1CB3
split-complementary
#B31C56 #1CB32E #1CA1B3
monochromatic
#490B23 #7E143D #B31C56 #DE2E72 #E76395
Accessibility & contrast
On white
6.53
#B31C56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B31C56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C56
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C56 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B57
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c56; /* rgb */ color: rgb(179, 28, 86); /* oklch */ color: oklch(50.5% 0.186 5.1);
Tailwind
colors: {
custom: {
50: '#d06b85',
500: '#b31c56',
950: '#000000',
},
}SCSS
$custom: #b31c56; $custom-light: #d06b85; $custom-dark: #000000;
JSON
{
"hex": "#b31c56",
"rgb": {
"r": 179,
"g": 28,
"b": 86
},
"hsl": {
"h": 336.954,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50468,
"c": 0.18609,
"h": 5.1
},
"luminance": 0.11086
}Semantic roles & 50–950 ramp
primary
#B31C56
secondary
#5FCBA2
accent
#F0A938
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C