#B31C4A#B31C4A
#B31C4A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 10.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C4A |
|---|---|
| RGB | rgb(179, 28, 74) |
| HSL | hsl(342, 73%, 41%) |
| HSV | hsv(342, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 58.7%, 29.8%) |
| CIE-LAB | lab(39.43, 59.67, 13.52) |
| CIE-LCH | lch(39.43, 61.18, 12.77°) |
| OKLab | oklab(50.15% 0.1808 0.0337) |
| OKLCH | oklch(50.15% 0.184 10.6) |
| XYZ | xyz(20.2438, 10.9117, 7.5175) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.39
Purplish Red
#B0054B
ΔE00 2.52
Rouge
#AB1239
ΔE00 4.29
Rose Red
#BE013C
ΔE00 4.62
Ruby
#CA0147
ΔE00 4.65
Cranberry
#9E003A
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C4A #1CB385
analogous
#B31C95 #B31C4A #B3391C
triadic
#B31C4A #4AB31C #1C4AB3
tetradic
#B31C4A #95B31C #1CB385 #391CB3
square
#B31C4A #95B31C #1CB385 #391CB3
split-complementary
#B31C4A #1CB339 #1C95B3
monochromatic
#490B1E #7E1434 #B31C4A #DE2E64 #E7638B
Accessibility & contrast
On white
6.60
#B31C4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31C4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C4A
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C4A | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49494B
Deuteranopia (green-blind)
#6F6846
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c4a; /* rgb */ color: rgb(179, 28, 74); /* oklch */ color: oklch(50.2% 0.184 10.6);
Tailwind
colors: {
custom: {
50: '#d16b7c',
500: '#b31c4a',
950: '#000000',
},
}SCSS
$custom: #b31c4a; $custom-light: #d16b7c; $custom-dark: #000000;
JSON
{
"hex": "#b31c4a",
"rgb": {
"r": 179,
"g": 28,
"b": 74
},
"hsl": {
"h": 341.722,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50152,
"c": 0.18393,
"h": 10.6
},
"luminance": 0.10909
}Semantic roles & 50–950 ramp
primary
#B31C4A
secondary
#5FCBAA
accent
#F0B838
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B