#B31A47#B31A47
#B31A47 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.185 H 11.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A47 |
|---|---|
| RGB | rgb(179, 26, 71) |
| HSL | hsl(342, 75%, 40%) |
| HSV | hsv(342, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 60.3%, 29.8%) |
| CIE-LAB | lab(39.21, 59.92, 15.13) |
| CIE-LCH | lch(39.21, 61.80, 14.17°) |
| OKLab | oklab(49.97% 0.1811 0.0374) |
| OKLCH | oklch(49.97% 0.185 11.7) |
| XYZ | xyz(20.0993, 10.7805, 6.9825) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.76
Purplish Red
#B0054B
ΔE00 3.01
Rouge
#AB1239
ΔE00 3.56
Rose Red
#BE013C
ΔE00 3.91
Ruby
#CA0147
ΔE00 4.37
Cranberry
#9E003A
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A47 #1AB386
analogous
#B31A93 #B31A47 #B33A1A
triadic
#B31A47 #47B31A #1A47B3
tetradic
#B31A47 #93B31A #1AB386 #3A1AB3
square
#B31A47 #93B31A #1AB386 #3A1AB3
split-complementary
#B31A47 #1AB33A #1A93B3
monochromatic
#480A1D #7E1232 #B31A47 #E02A60 #E86088
Accessibility & contrast
On white
6.66
#B31A47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#B31A47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A47
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A47 | 1.00 | 6.66 | 3.16 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494948
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31a47; /* rgb */ color: rgb(179, 26, 71); /* oklch */ color: oklch(50.0% 0.185 11.7);
Tailwind
colors: {
custom: {
50: '#d16a79',
500: '#b31a47',
950: '#000000',
},
}SCSS
$custom: #b31a47; $custom-light: #d16a79; $custom-dark: #000000;
JSON
{
"hex": "#b31a47",
"rgb": {
"r": 179,
"g": 26,
"b": 71
},
"hsl": {
"h": 342.353,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.49966,
"c": 0.18491,
"h": 11.7
},
"luminance": 0.10777
}Semantic roles & 50–950 ramp
primary
#B31A47
secondary
#5DCCAB
accent
#F1BA37
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B