#B31951#B31951
#B31951 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.187 H 7.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B31951 |
|---|---|
| RGB | rgb(179, 25, 81) |
| HSL | hsl(338, 75%, 40%) |
| HSV | hsv(338, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 54.7%, 29.8%) |
| CIE-LAB | lab(39.37, 60.82, 8.97) |
| CIE-LCH | lch(39.37, 61.48, 8.39°) |
| OKLab | oklab(50.16% 0.1856 0.023) |
| OKLCH | oklch(50.16% 0.187 7.1) |
| XYZ | xyz(20.4252, 10.8761, 8.8068) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.70
Raspberry (survey)
#B00149
ΔE00 2.05
Deep Pink
#CB0162
ΔE00 5.09
Violet Red
#A50055
ΔE00 5.34
Light Burgundy
#A8415B
ΔE00 5.58
Berry
#990F4B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31951 #19B37B
analogous
#B3199E #B31951 #B32E19
triadic
#B31951 #51B319 #1951B3
tetradic
#B31951 #9EB319 #19B37B #2E19B3
square
#B31951 #9EB319 #19B37B #2E19B3
split-complementary
#B31951 #19B32E #199EB3
monochromatic
#480A20 #7D1239 #B31951 #E1286B #E85E90
Accessibility & contrast
On white
6.62
#B31951 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B31951 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31951
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31951 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31951; /* rgb */ color: rgb(179, 25, 81); /* oklch */ color: oklch(50.2% 0.187 7.1);
Tailwind
colors: {
custom: {
50: '#d16a81',
500: '#b31951',
950: '#000000',
},
}SCSS
$custom: #b31951; $custom-light: #d16a81; $custom-dark: #000000;
JSON
{
"hex": "#b31951",
"rgb": {
"r": 179,
"g": 25,
"b": 81
},
"hsl": {
"h": 338.182,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.50162,
"c": 0.18705,
"h": 7.1
},
"luminance": 0.10873
}Semantic roles & 50–950 ramp
primary
#B31951
secondary
#5BCCA3
accent
#F2AE36
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C