#B31A5A#B31A5A
#B31A5A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 3.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A5A |
|---|---|
| RGB | rgb(179, 26, 90) |
| HSL | hsl(335, 75%, 40%) |
| HSV | hsv(335, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 49.7%, 29.8%) |
| CIE-LAB | lab(39.69, 61.31, 3.69) |
| CIE-LCH | lch(39.69, 61.42, 3.44°) |
| OKLab | oklab(50.47% 0.1882 0.01) |
| OKLCH | oklch(50.47% 0.188 3.1) |
| XYZ | xyz(20.8071, 11.0637, 10.7107) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 4.02
Violet Red
#A50055
ΔE00 4.04
Deep Pink
#CB0162
ΔE00 4.33
Berry
#990F4B
ΔE00 5.67
Light Burgundy
#A8415B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A5A #1AB373
analogous
#B31AA6 #B31A5A #B3271A
triadic
#B31A5A #5AB31A #1A5AB3
tetradic
#B31A5A #A6B31A #1AB373 #271AB3
square
#B31A5A #A6B31A #1AB373 #271AB3
split-complementary
#B31A5A #1AB327 #1AA6B3
monochromatic
#480A24 #7E123F #B31A5A #E02A76 #E86099
Accessibility & contrast
On white
6.54
#B31A5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B31A5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A5A
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A5A | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5B
Deuteranopia (green-blind)
#6C6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31a5a; /* rgb */ color: rgb(179, 26, 90); /* oklch */ color: oklch(50.5% 0.188 3.1);
Tailwind
colors: {
custom: {
50: '#d06b88',
500: '#b31a5a',
950: '#000000',
},
}SCSS
$custom: #b31a5a; $custom-light: #d06b88; $custom-dark: #000000;
JSON
{
"hex": "#b31a5a",
"rgb": {
"r": 179,
"g": 26,
"b": 90
},
"hsl": {
"h": 334.902,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.50473,
"c": 0.18849,
"h": 3.1
},
"luminance": 0.11061
}Semantic roles & 50–950 ramp
primary
#B31A5A
secondary
#5DCC9D
accent
#F1A337
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C