#B31955#B31955
#B31955 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.188 H 5.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B31955 |
|---|---|
| RGB | rgb(179, 25, 85) |
| HSL | hsl(337, 75%, 40%) |
| HSV | hsv(337, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 52.5%, 29.8%) |
| CIE-LAB | lab(39.48, 61.12, 6.57) |
| CIE-LCH | lch(39.48, 61.47, 6.14°) |
| OKLab | oklab(50.27% 0.1871 0.0172) |
| OKLCH | oklch(50.27% 0.188 5.2) |
| XYZ | xyz(20.5797, 10.9379, 9.6201) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.36
Raspberry (survey)
#B00149
ΔE00 2.83
Violet Red
#A50055
ΔE00 4.59
Deep Pink
#CB0162
ΔE00 4.60
Berry
#990F4B
ΔE00 5.65
Light Burgundy
#A8415B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31955 #19B377
analogous
#B319A2 #B31955 #B32A19
triadic
#B31955 #55B319 #1955B3
tetradic
#B31955 #A2B319 #19B377 #2A19B3
square
#B31955 #A2B319 #19B377 #2A19B3
split-complementary
#B31955 #19B32A #19A2B3
monochromatic
#480A22 #7D123C #B31955 #E12870 #E85E94
Accessibility & contrast
On white
6.59
#B31955 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31955 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31955
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31955 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31955 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A56
Deuteranopia (green-blind)
#6D6851
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31955; /* rgb */ color: rgb(179, 25, 85); /* oklch */ color: oklch(50.3% 0.188 5.2);
Tailwind
colors: {
custom: {
50: '#d06b84',
500: '#b31955',
950: '#000000',
},
}SCSS
$custom: #b31955; $custom-light: #d06b84; $custom-dark: #000000;
JSON
{
"hex": "#b31955",
"rgb": {
"r": 179,
"g": 25,
"b": 85
},
"hsl": {
"h": 336.623,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.50273,
"c": 0.1879,
"h": 5.2
},
"luminance": 0.10935
}Semantic roles & 50–950 ramp
primary
#B31955
secondary
#5BCCA0
accent
#F2A936
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C