#B31C53#B31C53
#B31C53 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.185 H 6.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C53 |
|---|---|
| RGB | rgb(179, 28, 83) |
| HSL | hsl(338, 73%, 41%) |
| HSV | hsv(338, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 53.6%, 29.8%) |
| CIE-LAB | lab(39.65, 60.31, 8.09) |
| CIE-LCH | lch(39.65, 60.86, 7.64°) |
| OKLab | oklab(50.38% 0.1843 0.0209) |
| OKLCH | oklch(50.38% 0.185 6.5) |
| XYZ | xyz(20.5690, 11.0418, 9.2301) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.10
Raspberry (survey)
#B00149
ΔE00 2.49
Deep Pink
#CB0162
ΔE00 4.82
Violet Red
#A50055
ΔE00 5.22
Light Burgundy
#A8415B
ΔE00 5.34
Berry
#990F4B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C53 #1CB37C
analogous
#B31C9E #B31C53 #B3311C
triadic
#B31C53 #53B31C #1C53B3
tetradic
#B31C53 #9EB31C #1CB37C #311CB3
square
#B31C53 #9EB31C #1CB37C #311CB3
split-complementary
#B31C53 #1CB331 #1C9EB3
monochromatic
#490B22 #7E143A #B31C53 #DE2E6E #E76393
Accessibility & contrast
On white
6.55
#B31C53 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B31C53 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C53
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C53 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A54
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c53; /* rgb */ color: rgb(179, 28, 83); /* oklch */ color: oklch(50.4% 0.185 6.5);
Tailwind
colors: {
custom: {
50: '#d06b83',
500: '#b31c53',
950: '#000000',
},
}SCSS
$custom: #b31c53; $custom-light: #d06b83; $custom-dark: #000000;
JSON
{
"hex": "#b31c53",
"rgb": {
"r": 179,
"g": 28,
"b": 83
},
"hsl": {
"h": 338.146,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50384,
"c": 0.18543,
"h": 6.5
},
"luminance": 0.11039
}Semantic roles & 50–950 ramp
primary
#B31C53
secondary
#5FCBA4
accent
#F0AD38
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C