#B31C5A#B31C5A
#B31C5A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 3.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5A |
|---|---|
| RGB | rgb(179, 28, 90) |
| HSL | hsl(335, 73%, 41%) |
| HSV | hsv(335, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 49.7%, 29.8%) |
| CIE-LAB | lab(39.84, 60.87, 3.91) |
| CIE-LCH | lch(39.84, 61.00, 3.67°) |
| OKLab | oklab(50.59% 0.1868 0.0106) |
| OKLCH | oklch(50.59% 0.187 3.2) |
| XYZ | xyz(20.8530, 11.1554, 10.7260) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.52
Raspberry (survey)
#B00149
ΔE00 4.01
Violet Red
#A50055
ΔE00 4.21
Deep Pink
#CB0162
ΔE00 4.28
Berry
#990F4B
ΔE00 5.77
Light Burgundy
#A8415B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5A #1CB375
analogous
#B31CA5 #B31C5A #B3291C
triadic
#B31C5A #5AB31C #1C5AB3
tetradic
#B31C5A #A5B31C #1CB375 #291CB3
square
#B31C5A #A5B31C #1CB375 #291CB3
split-complementary
#B31C5A #1CB329 #1CA5B3
monochromatic
#490B25 #7E143F #B31C5A #DE2E76 #E76399
Accessibility & contrast
On white
6.50
#B31C5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B31C5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5A
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5A | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5a; /* rgb */ color: rgb(179, 28, 90); /* oklch */ color: oklch(50.6% 0.187 3.2);
Tailwind
colors: {
custom: {
50: '#d06c88',
500: '#b31c5a',
950: '#000000',
},
}SCSS
$custom: #b31c5a; $custom-light: #d06c88; $custom-dark: #000000;
JSON
{
"hex": "#b31c5a",
"rgb": {
"r": 179,
"g": 28,
"b": 90
},
"hsl": {
"h": 335.364,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50585,
"c": 0.18709,
"h": 3.2
},
"luminance": 0.11152
}Semantic roles & 50–950 ramp
primary
#B31C5A
secondary
#5FCB9F
accent
#F0A438
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C