#B31957#B31957
#B31957 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 4.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31957 |
|---|---|
| RGB | rgb(179, 25, 87) |
| HSL | hsl(336, 75%, 40%) |
| HSV | hsv(336, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 51.4%, 29.8%) |
| CIE-LAB | lab(39.53, 61.28, 5.37) |
| CIE-LCH | lch(39.53, 61.51, 5.01°) |
| OKLab | oklab(50.33% 0.1878 0.0142) |
| OKLCH | oklch(50.33% 0.188 4.3) |
| XYZ | xyz(20.6603, 10.9701, 10.0445) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.81
Raspberry (survey)
#B00149
ΔE00 3.29
Violet Red
#A50055
ΔE00 4.29
Deep Pink
#CB0162
ΔE00 4.45
Berry
#990F4B
ΔE00 5.60
Light Burgundy
#A8415B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31957 #19B375
analogous
#B319A4 #B31957 #B32819
triadic
#B31957 #57B319 #1957B3
tetradic
#B31957 #A4B319 #19B375 #2819B3
square
#B31957 #A4B319 #19B375 #2819B3
split-complementary
#B31957 #19B328 #19A4B3
monochromatic
#480A23 #7D123D #B31957 #E12873 #E85E96
Accessibility & contrast
On white
6.58
#B31957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31957
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31957 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31957; /* rgb */ color: rgb(179, 25, 87); /* oklch */ color: oklch(50.3% 0.188 4.3);
Tailwind
colors: {
custom: {
50: '#d06b86',
500: '#b31957',
950: '#000000',
},
}SCSS
$custom: #b31957; $custom-light: #d06b86; $custom-dark: #000000;
JSON
{
"hex": "#b31957",
"rgb": {
"r": 179,
"g": 25,
"b": 87
},
"hsl": {
"h": 335.844,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.5033,
"c": 0.18838,
"h": 4.3
},
"luminance": 0.10967
}Semantic roles & 50–950 ramp
primary
#B31957
secondary
#5BCC9F
accent
#F2A636
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C