#B31C4D#B31C4D
#B31C4D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.184 H 9.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C4D |
|---|---|
| RGB | rgb(179, 28, 77) |
| HSL | hsl(341, 73%, 41%) |
| HSV | hsv(341, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 57%, 29.8%) |
| CIE-LAB | lab(39.50, 59.88, 11.71) |
| CIE-LCH | lch(39.50, 61.01, 11.06°) |
| OKLab | oklab(50.23% 0.182 0.0295) |
| OKLCH | oklch(50.23% 0.184 9.2) |
| XYZ | xyz(20.3473, 10.9531, 8.0625) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.02
Raspberry (survey)
#B00149
ΔE00 2.06
Rouge
#AB1239
ΔE00 5.10
Ruby
#CA0147
ΔE00 5.16
Rose Red
#BE013C
ΔE00 5.46
Light Burgundy
#A8415B
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C4D #1CB382
analogous
#B31C98 #B31C4D #B3371C
triadic
#B31C4D #4DB31C #1C4DB3
tetradic
#B31C4D #98B31C #1CB382 #371CB3
square
#B31C4D #98B31C #1CB382 #371CB3
split-complementary
#B31C4D #1CB337 #1C98B3
monochromatic
#490B1F #7E1436 #B31C4D #DE2E67 #E7638E
Accessibility & contrast
On white
6.58
#B31C4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31C4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C4D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C4D | 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)
#484A4E
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c4d; /* rgb */ color: rgb(179, 28, 77); /* oklch */ color: oklch(50.2% 0.184 9.2);
Tailwind
colors: {
custom: {
50: '#d16b7e',
500: '#b31c4d',
950: '#000000',
},
}SCSS
$custom: #b31c4d; $custom-light: #d16b7e; $custom-dark: #000000;
JSON
{
"hex": "#b31c4d",
"rgb": {
"r": 179,
"g": 28,
"b": 77
},
"hsl": {
"h": 340.53,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50226,
"c": 0.18436,
"h": 9.2
},
"luminance": 0.1095
}Semantic roles & 50–950 ramp
primary
#B31C4D
secondary
#5FCBA8
accent
#F0B438
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B