#B31A5B#B31A5B
#B31A5B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.189 H 2.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A5B |
|---|---|
| RGB | rgb(179, 26, 91) |
| HSL | hsl(335, 75%, 40%) |
| HSV | hsv(335, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 49.2%, 29.8%) |
| CIE-LAB | lab(39.72, 61.39, 3.09) |
| CIE-LCH | lch(39.72, 61.47, 2.89°) |
| OKLab | oklab(50.5% 0.1886 0.0085) |
| OKLCH | oklch(50.5% 0.189 2.6) |
| XYZ | xyz(20.8500, 11.0808, 10.9364) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.78
Violet Red
#A50055
ΔE00 3.96
Raspberry (survey)
#B00149
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 4.33
Berry
#990F4B
ΔE00 5.70
Deep Magenta
#A0025C
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A5B #1AB372
analogous
#B31AA7 #B31A5B #B3261A
triadic
#B31A5B #5BB31A #1A5BB3
tetradic
#B31A5B #A7B31A #1AB372 #261AB3
square
#B31A5B #A7B31A #1AB372 #261AB3
split-complementary
#B31A5B #1AB326 #1AA7B3
monochromatic
#480A25 #7E1240 #B31A5B #E02A77 #E86099
Accessibility & contrast
On white
6.53
#B31A5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B31A5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A5B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A5B | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31a5b; /* rgb */ color: rgb(179, 26, 91); /* oklch */ color: oklch(50.5% 0.189 2.6);
Tailwind
colors: {
custom: {
50: '#d06b89',
500: '#b31a5b',
950: '#000000',
},
}SCSS
$custom: #b31a5b; $custom-light: #d06b89; $custom-dark: #000000;
JSON
{
"hex": "#b31a5b",
"rgb": {
"r": 179,
"g": 26,
"b": 91
},
"hsl": {
"h": 334.51,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50503,
"c": 0.18876,
"h": 2.6
},
"luminance": 0.11078
}Semantic roles & 50–950 ramp
primary
#B31A5B
secondary
#5DCC9D
accent
#F1A237
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C