#B31C4E#B31C4E
#B31C4E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 8.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C4E |
|---|---|
| RGB | rgb(179, 28, 78) |
| HSL | hsl(340, 73%, 41%) |
| HSV | hsv(340, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 56.4%, 29.8%) |
| CIE-LAB | lab(39.53, 59.95, 11.10) |
| CIE-LCH | lch(39.53, 60.97, 10.49°) |
| OKLab | oklab(50.25% 0.1824 0.0281) |
| OKLCH | oklch(50.25% 0.185 8.8) |
| XYZ | xyz(20.3828, 10.9673, 8.2499) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.92
Raspberry (survey)
#B00149
ΔE00 2.03
Ruby
#CA0147
ΔE00 5.36
Rouge
#AB1239
ΔE00 5.38
Light Burgundy
#A8415B
ΔE00 5.45
Deep Pink
#CB0162
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C4E #1CB381
analogous
#B31C9A #B31C4E #B3351C
triadic
#B31C4E #4EB31C #1C4EB3
tetradic
#B31C4E #9AB31C #1CB381 #351CB3
square
#B31C4E #9AB31C #1CB381 #351CB3
split-complementary
#B31C4E #1CB335 #1C9AB3
monochromatic
#490B20 #7E1437 #B31C4E #DE2E68 #E7638E
Accessibility & contrast
On white
6.58
#B31C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C4E
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C4E | 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)
#484A4F
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c4e; /* rgb */ color: rgb(179, 28, 78); /* oklch */ color: oklch(50.3% 0.185 8.8);
Tailwind
colors: {
custom: {
50: '#d16b7f',
500: '#b31c4e',
950: '#000000',
},
}SCSS
$custom: #b31c4e; $custom-light: #d16b7f; $custom-dark: #000000;
JSON
{
"hex": "#b31c4e",
"rgb": {
"r": 179,
"g": 28,
"b": 78
},
"hsl": {
"h": 340.132,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50251,
"c": 0.18451,
"h": 8.8
},
"luminance": 0.10964
}Semantic roles & 50–950 ramp
primary
#B31C4E
secondary
#5FCBA8
accent
#F0B338
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C