#B31B58#B31B58
#B31B58 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.187 H 4.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B58 |
|---|---|
| RGB | rgb(179, 27, 88) |
| HSL | hsl(336, 74%, 40%) |
| HSV | hsv(336, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 50.8%, 29.8%) |
| CIE-LAB | lab(39.71, 60.93, 4.99) |
| CIE-LCH | lch(39.71, 61.14, 4.68°) |
| OKLab | oklab(50.47% 0.1868 0.0133) |
| OKLCH | oklch(50.47% 0.187 4.1) |
| XYZ | xyz(20.7457, 11.0751, 10.2759) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.53
Violet Red
#A50055
ΔE00 4.33
Deep Pink
#CB0162
ΔE00 4.37
Light Burgundy
#A8415B
ΔE00 5.69
Berry
#990F4B
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B58 #1BB376
analogous
#B31BA4 #B31B58 #B32A1B
triadic
#B31B58 #58B31B #1B58B3
tetradic
#B31B58 #A4B31B #1BB376 #2A1BB3
square
#B31B58 #A4B31B #1BB376 #2A1BB3
split-complementary
#B31B58 #1BB32A #1BA4B3
monochromatic
#490B24 #7E133E #B31B58 #DF2C74 #E76197
Accessibility & contrast
On white
6.53
#B31B58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B31B58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B58
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B58 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B59
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b58; /* rgb */ color: rgb(179, 27, 88); /* oklch */ color: oklch(50.5% 0.187 4.1);
Tailwind
colors: {
custom: {
50: '#d06b86',
500: '#b31b58',
950: '#000000',
},
}SCSS
$custom: #b31b58; $custom-light: #d06b86; $custom-dark: #000000;
JSON
{
"hex": "#b31b58",
"rgb": {
"r": 179,
"g": 27,
"b": 88
},
"hsl": {
"h": 335.921,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.50469,
"c": 0.18728,
"h": 4.1
},
"luminance": 0.11072
}Semantic roles & 50–950 ramp
primary
#B31B58
secondary
#5ECCA0
accent
#F0A637
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C