#B31855#B31855
#B31855 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 5.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B31855 |
|---|---|
| RGB | rgb(179, 24, 85) |
| HSL | hsl(336, 76%, 40%) |
| HSV | hsv(336, 87%, 70%) |
| CMYK | cmyk(0%, 86.6%, 52.5%, 29.8%) |
| CIE-LAB | lab(39.40, 61.33, 6.47) |
| CIE-LCH | lch(39.40, 61.67, 6.02°) |
| OKLab | oklab(50.22% 0.1878 0.0169) |
| OKLCH | oklch(50.22% 0.189 5.1) |
| XYZ | xyz(20.5587, 10.8959, 9.6131) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.35
Raspberry (survey)
#B00149
ΔE00 2.82
Violet Red
#A50055
ΔE00 4.51
Deep Pink
#CB0162
ΔE00 4.61
Berry
#990F4B
ΔE00 5.59
Light Burgundy
#A8415B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31855 #18B376
analogous
#B318A3 #B31855 #B32818
triadic
#B31855 #55B318 #1855B3
tetradic
#B31855 #A3B318 #18B376 #2818B3
square
#B31855 #A3B318 #18B376 #2818B3
split-complementary
#B31855 #18B328 #18A3B3
monochromatic
#470A22 #7D113B #B31855 #E22670 #E95C94
Accessibility & contrast
On white
6.61
#B31855 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31855 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31855
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31855 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31855 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A56
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31855; /* rgb */ color: rgb(179, 24, 85); /* oklch */ color: oklch(50.2% 0.189 5.1);
Tailwind
colors: {
custom: {
50: '#d06a84',
500: '#b31855',
950: '#000000',
},
}SCSS
$custom: #b31855; $custom-light: #d06a84; $custom-dark: #000000;
JSON
{
"hex": "#b31855",
"rgb": {
"r": 179,
"g": 24,
"b": 85
},
"hsl": {
"h": 336.387,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.50221,
"c": 0.18853,
"h": 5.1
},
"luminance": 0.10893
}Semantic roles & 50–950 ramp
primary
#B31855
secondary
#5ACDA0
accent
#F3A835
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C