#B31B57#B31B57
#B31B57 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.187 H 4.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B57 |
|---|---|
| RGB | rgb(179, 27, 87) |
| HSL | hsl(336, 74%, 40%) |
| HSV | hsv(336, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 51.4%, 29.8%) |
| CIE-LAB | lab(39.68, 60.85, 5.59) |
| CIE-LCH | lch(39.68, 61.11, 5.24°) |
| OKLab | oklab(50.44% 0.1865 0.0148) |
| OKLCH | oklch(50.44% 0.187 4.5) |
| XYZ | xyz(20.7046, 11.0587, 10.0593) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 3.29
Deep Pink
#CB0162
ΔE00 4.42
Violet Red
#A50055
ΔE00 4.46
Light Burgundy
#A8415B
ΔE00 5.61
Berry
#990F4B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B57 #1BB377
analogous
#B31BA3 #B31B57 #B32B1B
triadic
#B31B57 #57B31B #1B57B3
tetradic
#B31B57 #A3B31B #1BB377 #2B1BB3
square
#B31B57 #A3B31B #1BB377 #2B1BB3
split-complementary
#B31B57 #1BB32B #1BA3B3
monochromatic
#490B23 #7E133D #B31B57 #DF2C73 #E76196
Accessibility & contrast
On white
6.54
#B31B57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B31B57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B57
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B57 | 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)
#464B58
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31b57; /* rgb */ color: rgb(179, 27, 87); /* oklch */ color: oklch(50.4% 0.187 4.5);
Tailwind
colors: {
custom: {
50: '#d06b86',
500: '#b31b57',
950: '#000000',
},
}SCSS
$custom: #b31b57; $custom-light: #d06b86; $custom-dark: #000000;
JSON
{
"hex": "#b31b57",
"rgb": {
"r": 179,
"g": 27,
"b": 87
},
"hsl": {
"h": 336.316,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.5044,
"c": 0.18703,
"h": 4.5
},
"luminance": 0.11056
}Semantic roles & 50–950 ramp
primary
#B31B57
secondary
#5ECCA0
accent
#F0A737
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C