#B31C4F#B31C4F
#B31C4F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 8.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C4F |
|---|---|
| RGB | rgb(179, 28, 79) |
| HSL | hsl(340, 73%, 41%) |
| HSV | hsv(340, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 55.9%, 29.8%) |
| CIE-LAB | lab(39.55, 60.02, 10.50) |
| CIE-LCH | lch(39.55, 60.93, 9.92°) |
| OKLab | oklab(50.28% 0.1827 0.0267) |
| OKLCH | oklch(50.28% 0.185 8.3) |
| XYZ | xyz(20.4190, 10.9818, 8.4401) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.86
Raspberry (survey)
#B00149
ΔE00 2.04
Light Burgundy
#A8415B
ΔE00 5.40
Deep Pink
#CB0162
ΔE00 5.46
Ruby
#CA0147
ΔE00 5.56
Rouge
#AB1239
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C4F #1CB380
analogous
#B31C9A #B31C4F #B3341C
triadic
#B31C4F #4FB31C #1C4FB3
tetradic
#B31C4F #9AB31C #1CB380 #341CB3
square
#B31C4F #9AB31C #1CB380 #341CB3
split-complementary
#B31C4F #1CB334 #1C9AB3
monochromatic
#490B20 #7E1438 #B31C4F #DE2E69 #E7638F
Accessibility & contrast
On white
6.57
#B31C4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B31C4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C4F
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C4F | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c4f; /* rgb */ color: rgb(179, 28, 79); /* oklch */ color: oklch(50.3% 0.185 8.3);
Tailwind
colors: {
custom: {
50: '#d16b80',
500: '#b31c4f',
950: '#000000',
},
}SCSS
$custom: #b31c4f; $custom-light: #d16b80; $custom-dark: #000000;
JSON
{
"hex": "#b31c4f",
"rgb": {
"r": 179,
"g": 28,
"b": 79
},
"hsl": {
"h": 339.735,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50277,
"c": 0.18467,
"h": 8.3
},
"luminance": 0.10979
}Semantic roles & 50–950 ramp
primary
#B31C4F
secondary
#5FCBA7
accent
#F0B238
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C