#B31956#B31956
#B31956 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 4.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B31956 |
|---|---|
| RGB | rgb(179, 25, 86) |
| HSL | hsl(336, 75%, 40%) |
| HSV | hsv(336, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 52%, 29.8%) |
| CIE-LAB | lab(39.50, 61.20, 5.97) |
| CIE-LCH | lch(39.50, 61.49, 5.57°) |
| OKLab | oklab(50.3% 0.1875 0.0157) |
| OKLCH | oklch(50.3% 0.188 4.8) |
| XYZ | xyz(20.6197, 10.9539, 9.8308) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.58
Raspberry (survey)
#B00149
ΔE00 3.05
Violet Red
#A50055
ΔE00 4.43
Deep Pink
#CB0162
ΔE00 4.52
Berry
#990F4B
ΔE00 5.62
Light Burgundy
#A8415B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31956 #19B376
analogous
#B319A3 #B31956 #B32919
triadic
#B31956 #56B319 #1956B3
tetradic
#B31956 #A3B319 #19B376 #2919B3
square
#B31956 #A3B319 #19B376 #2919B3
split-complementary
#B31956 #19B329 #19A3B3
monochromatic
#480A22 #7D123C #B31956 #E12871 #E85E95
Accessibility & contrast
On white
6.58
#B31956 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B31956 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31956
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31956 | 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)
#454A57
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31956; /* rgb */ color: rgb(179, 25, 86); /* oklch */ color: oklch(50.3% 0.188 4.8);
Tailwind
colors: {
custom: {
50: '#d06b85',
500: '#b31956',
950: '#000000',
},
}SCSS
$custom: #b31956; $custom-light: #d06b85; $custom-dark: #000000;
JSON
{
"hex": "#b31956",
"rgb": {
"r": 179,
"g": 25,
"b": 86
},
"hsl": {
"h": 336.234,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.50301,
"c": 0.18813,
"h": 4.8
},
"luminance": 0.10951
}Semantic roles & 50–950 ramp
primary
#B31956
secondary
#5BCCA0
accent
#F2A736
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C