#B31A49#B31A49
#B31A49 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.185 H 10.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A49 |
|---|---|
| RGB | rgb(179, 26, 73) |
| HSL | hsl(342, 75%, 40%) |
| HSV | hsv(342, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 59.2%, 29.8%) |
| CIE-LAB | lab(39.25, 60.05, 13.92) |
| CIE-LCH | lch(39.25, 61.64, 13.05°) |
| OKLab | oklab(50.01% 0.1819 0.0346) |
| OKLCH | oklch(50.01% 0.185 10.8) |
| XYZ | xyz(20.1645, 10.8066, 7.3262) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.34
Purplish Red
#B0054B
ΔE00 2.52
Rouge
#AB1239
ΔE00 4.08
Rose Red
#BE013C
ΔE00 4.45
Ruby
#CA0147
ΔE00 4.62
Cranberry
#9E003A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A49 #1AB384
analogous
#B31A95 #B31A49 #B3381A
triadic
#B31A49 #49B31A #1A49B3
tetradic
#B31A49 #95B31A #1AB384 #381AB3
square
#B31A49 #95B31A #1AB384 #381AB3
split-complementary
#B31A49 #1AB338 #1A95B3
monochromatic
#480A1D #7E1233 #B31A49 #E02A62 #E86089
Accessibility & contrast
On white
6.64
#B31A49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#B31A49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A49
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A49 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49494A
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31a49; /* rgb */ color: rgb(179, 26, 73); /* oklch */ color: oklch(50.0% 0.185 10.8);
Tailwind
colors: {
custom: {
50: '#d16a7b',
500: '#b31a49',
950: '#000000',
},
}SCSS
$custom: #b31a49; $custom-light: #d16a7b; $custom-dark: #000000;
JSON
{
"hex": "#b31a49",
"rgb": {
"r": 179,
"g": 26,
"b": 73
},
"hsl": {
"h": 341.569,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50013,
"c": 0.18514,
"h": 10.8
},
"luminance": 0.10804
}Semantic roles & 50–950 ramp
primary
#B31A49
secondary
#5DCCAA
accent
#F1B837
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B