#B31A4B#B31A4B
#B31A4B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.185 H 9.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A4B |
|---|---|
| RGB | rgb(179, 26, 75) |
| HSL | hsl(341, 75%, 40%) |
| HSV | hsv(341, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 58.1%, 29.8%) |
| CIE-LAB | lab(39.30, 60.18, 12.70) |
| CIE-LCH | lch(39.30, 61.51, 11.92°) |
| OKLab | oklab(50.06% 0.1827 0.0318) |
| OKLCH | oklch(50.06% 0.185 9.9) |
| XYZ | xyz(20.2319, 10.8336, 7.6810) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.02
Purplish Red
#B0054B
ΔE00 2.11
Rouge
#AB1239
ΔE00 4.62
Ruby
#CA0147
ΔE00 4.93
Rose Red
#BE013C
ΔE00 5.01
Cranberry
#9E003A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A4B #1AB382
analogous
#B31A98 #B31A4B #B3351A
triadic
#B31A4B #4BB31A #1A4BB3
tetradic
#B31A4B #98B31A #1AB382 #351AB3
square
#B31A4B #98B31A #1AB382 #351AB3
split-complementary
#B31A4B #1AB335 #1A98B3
monochromatic
#480A1E #7E1235 #B31A4B #E02A64 #E8608B
Accessibility & contrast
On white
6.63
#B31A4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B31A4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A4B
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A4B | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a4b; /* rgb */ color: rgb(179, 26, 75); /* oklch */ color: oklch(50.1% 0.185 9.9);
Tailwind
colors: {
custom: {
50: '#d16b7c',
500: '#b31a4b',
950: '#000000',
},
}SCSS
$custom: #b31a4b; $custom-light: #d16b7c; $custom-dark: #000000;
JSON
{
"hex": "#b31a4b",
"rgb": {
"r": 179,
"g": 26,
"b": 75
},
"hsl": {
"h": 340.784,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50062,
"c": 0.1854,
"h": 9.9
},
"luminance": 0.1083
}Semantic roles & 50–950 ramp
primary
#B31A4B
secondary
#5DCCA8
accent
#F1B537
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B