#B31D5B#B31D5B
#B31D5B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 2.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D5B |
|---|---|
| RGB | rgb(179, 29, 91) |
| HSL | hsl(335, 72%, 41%) |
| HSV | hsv(335, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 49.2%, 29.8%) |
| CIE-LAB | lab(39.95, 60.72, 3.43) |
| CIE-LCH | lch(39.95, 60.82, 3.23°) |
| OKLab | oklab(50.67% 0.1864 0.0094) |
| OKLCH | oklch(50.67% 0.187 2.9) |
| XYZ | xyz(20.9200, 11.2207, 10.9597) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.76
Violet Red
#A50055
ΔE00 4.22
Raspberry (survey)
#B00149
ΔE00 4.25
Deep Pink
#CB0162
ΔE00 4.25
Light Burgundy
#A8415B
ΔE00 5.79
Berry
#990F4B
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D5B #1DB375
analogous
#B31DA6 #B31D5B #B32A1D
triadic
#B31D5B #5BB31D #1D5BB3
tetradic
#B31D5B #A6B31D #1DB375 #2A1DB3
square
#B31D5B #A6B31D #1DB375 #2A1DB3
split-complementary
#B31D5B #1DB32A #1DA6B3
monochromatic
#4A0C25 #7E1440 #B31D5B #DD3078 #E6649A
Accessibility & contrast
On white
6.47
#B31D5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31D5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D5B
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D5B | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5C
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31d5b; /* rgb */ color: rgb(179, 29, 91); /* oklch */ color: oklch(50.7% 0.187 2.9);
Tailwind
colors: {
custom: {
50: '#d06c89',
500: '#b31d5b',
950: '#000000',
},
}SCSS
$custom: #b31d5b; $custom-light: #d06c89; $custom-dark: #000000;
JSON
{
"hex": "#b31d5b",
"rgb": {
"r": 179,
"g": 29,
"b": 91
},
"hsl": {
"h": 335.2,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50674,
"c": 0.18664,
"h": 2.9
},
"luminance": 0.11218
}Semantic roles & 50–950 ramp
primary
#B31D5B
secondary
#61CB9F
accent
#EFA439
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C