#B31856#B31856
#B31856 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 4.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B31856 |
|---|---|
| RGB | rgb(179, 24, 86) |
| HSL | hsl(336, 76%, 40%) |
| HSV | hsv(336, 87%, 70%) |
| CMYK | cmyk(0%, 86.6%, 52%, 29.8%) |
| CIE-LAB | lab(39.43, 61.40, 5.87) |
| CIE-LCH | lch(39.43, 61.68, 5.46°) |
| OKLab | oklab(50.25% 0.1881 0.0155) |
| OKLCH | oklch(50.25% 0.189 4.7) |
| XYZ | xyz(20.5987, 10.9119, 9.8238) |
| Luminance | 0.1091 (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.35
Deep Pink
#CB0162
ΔE00 4.54
Berry
#990F4B
ΔE00 5.56
Light Burgundy
#A8415B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31856 #18B375
analogous
#B318A4 #B31856 #B32718
triadic
#B31856 #56B318 #1856B3
tetradic
#B31856 #A4B318 #18B375 #2718B3
square
#B31856 #A4B318 #18B375 #2718B3
split-complementary
#B31856 #18B327 #18A4B3
monochromatic
#470A22 #7D113C #B31856 #E22671 #E95C95
Accessibility & contrast
On white
6.60
#B31856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31856
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31856 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A57
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31856; /* rgb */ color: rgb(179, 24, 86); /* oklch */ color: oklch(50.2% 0.189 4.7);
Tailwind
colors: {
custom: {
50: '#d06a85',
500: '#b31856',
950: '#000000',
},
}SCSS
$custom: #b31856; $custom-light: #d06a85; $custom-dark: #000000;
JSON
{
"hex": "#b31856",
"rgb": {
"r": 179,
"g": 24,
"b": 86
},
"hsl": {
"h": 336,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.50249,
"c": 0.18877,
"h": 4.7
},
"luminance": 0.10909
}Semantic roles & 50–950 ramp
primary
#B31856
secondary
#5ACD9F
accent
#F3A735
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C