#B31C54#B31C54
#B31C54 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.186 H 6.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C54 |
|---|---|
| RGB | rgb(179, 28, 84) |
| HSL | hsl(338, 73%, 41%) |
| HSV | hsv(338, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 53.1%, 29.8%) |
| CIE-LAB | lab(39.68, 60.39, 7.49) |
| CIE-LCH | lch(39.68, 60.85, 7.07°) |
| OKLab | oklab(50.41% 0.1846 0.0194) |
| OKLCH | oklch(50.41% 0.186 6) |
| XYZ | xyz(20.6079, 11.0573, 9.4349) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.25
Raspberry (survey)
#B00149
ΔE00 2.67
Deep Pink
#CB0162
ΔE00 4.69
Violet Red
#A50055
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.36
Berry
#990F4B
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C54 #1CB37B
analogous
#B31CA0 #B31C54 #B32F1C
triadic
#B31C54 #54B31C #1C54B3
tetradic
#B31C54 #A0B31C #1CB37B #2F1CB3
square
#B31C54 #A0B31C #1CB37B #2F1CB3
split-complementary
#B31C54 #1CB32F #1CA0B3
monochromatic
#490B22 #7E143B #B31C54 #DE2E6F #E76394
Accessibility & contrast
On white
6.54
#B31C54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B31C54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C54
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C54 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31c54; /* rgb */ color: rgb(179, 28, 84); /* oklch */ color: oklch(50.4% 0.186 6.0);
Tailwind
colors: {
custom: {
50: '#d06b83',
500: '#b31c54',
950: '#000000',
},
}SCSS
$custom: #b31c54; $custom-light: #d06b83; $custom-dark: #000000;
JSON
{
"hex": "#b31c54",
"rgb": {
"r": 179,
"g": 28,
"b": 84
},
"hsl": {
"h": 337.748,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50412,
"c": 0.18564,
"h": 6
},
"luminance": 0.11054
}Semantic roles & 50–950 ramp
primary
#B31C54
secondary
#5FCBA3
accent
#F0AC38
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C