#B31A55#B31A55
#B31A55 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.187 H 5.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A55 |
|---|---|
| RGB | rgb(179, 26, 85) |
| HSL | hsl(337, 75%, 40%) |
| HSV | hsv(337, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 52.5%, 29.8%) |
| CIE-LAB | lab(39.55, 60.91, 6.67) |
| CIE-LCH | lch(39.55, 61.28, 6.25°) |
| OKLab | oklab(50.33% 0.1864 0.0174) |
| OKLCH | oklch(50.33% 0.187 5.3) |
| XYZ | xyz(20.6014, 10.9814, 9.6274) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.38
Raspberry (survey)
#B00149
ΔE00 2.84
Deep Pink
#CB0162
ΔE00 4.59
Violet Red
#A50055
ΔE00 4.68
Light Burgundy
#A8415B
ΔE00 5.58
Berry
#990F4B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A55 #1AB378
analogous
#B31AA1 #B31A55 #B32C1A
triadic
#B31A55 #55B31A #1A55B3
tetradic
#B31A55 #A1B31A #1AB378 #2C1AB3
square
#B31A55 #A1B31A #1AB378 #2C1AB3
split-complementary
#B31A55 #1AB32C #1AA1B3
monochromatic
#480A22 #7E123C #B31A55 #E02A70 #E86094
Accessibility & contrast
On white
6.57
#B31A55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B31A55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A55
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A55 | 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)
#464A56
Deuteranopia (green-blind)
#6D6851
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a55; /* rgb */ color: rgb(179, 26, 85); /* oklch */ color: oklch(50.3% 0.187 5.3);
Tailwind
colors: {
custom: {
50: '#d06b84',
500: '#b31a55',
950: '#000000',
},
}SCSS
$custom: #b31a55; $custom-light: #d06b84; $custom-dark: #000000;
JSON
{
"hex": "#b31a55",
"rgb": {
"r": 179,
"g": 26,
"b": 85
},
"hsl": {
"h": 336.863,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50327,
"c": 0.18724,
"h": 5.3
},
"luminance": 0.10978
}Semantic roles & 50–950 ramp
primary
#B31A55
secondary
#5DCCA1
accent
#F1A937
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C