#B31D55#B31D55
#B31D55 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 5.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D55 |
|---|---|
| RGB | rgb(179, 29, 85) |
| HSL | hsl(338, 72%, 41%) |
| HSV | hsv(338, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 52.5%, 29.8%) |
| CIE-LAB | lab(39.78, 60.24, 7.01) |
| CIE-LCH | lch(39.78, 60.64, 6.63°) |
| OKLab | oklab(50.5% 0.1842 0.0183) |
| OKLCH | oklch(50.5% 0.185 5.7) |
| XYZ | xyz(20.6714, 11.1213, 9.6507) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.46
Raspberry (survey)
#B00149
ΔE00 2.89
Deep Pink
#CB0162
ΔE00 4.58
Violet Red
#A50055
ΔE00 4.96
Light Burgundy
#A8415B
ΔE00 5.30
Berry
#990F4B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D55 #1DB37B
analogous
#B31DA0 #B31D55 #B3301D
triadic
#B31D55 #55B31D #1D55B3
tetradic
#B31D55 #A0B31D #1DB37B #301DB3
square
#B31D55 #A0B31D #1DB37B #301DB3
split-complementary
#B31D55 #1DB330 #1DA0B3
monochromatic
#4A0C23 #7E143C #B31D55 #DD3071 #E66495
Accessibility & contrast
On white
6.51
#B31D55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B31D55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D55
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D55 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31d55; /* rgb */ color: rgb(179, 29, 85); /* oklch */ color: oklch(50.5% 0.185 5.7);
Tailwind
colors: {
custom: {
50: '#d06c84',
500: '#b31d55',
950: '#000000',
},
}SCSS
$custom: #b31d55; $custom-light: #d06c84; $custom-dark: #000000;
JSON
{
"hex": "#b31d55",
"rgb": {
"r": 179,
"g": 29,
"b": 85
},
"hsl": {
"h": 337.6,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50499,
"c": 0.18514,
"h": 5.7
},
"luminance": 0.11118
}Semantic roles & 50–950 ramp
primary
#B31D55
secondary
#61CBA3
accent
#EFAB39
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C