#B31C5E#B31C5E
#B31C5E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 1.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5E |
|---|---|
| RGB | rgb(179, 28, 94) |
| HSL | hsl(334, 73%, 41%) |
| HSV | hsv(334, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 47.5%, 29.8%) |
| CIE-LAB | lab(39.96, 61.21, 1.54) |
| CIE-LCH | lch(39.96, 61.23, 1.44°) |
| OKLab | oklab(50.71% 0.1882 0.0046) |
| OKLCH | oklch(50.71% 0.188 1.4) |
| XYZ | xyz(21.0279, 11.2253, 11.6469) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.00
Deep Pink
#CB0162
ΔE00 4.36
Purplish Red
#B0054B
ΔE00 4.50
Raspberry (survey)
#B00149
ΔE00 5.00
Deep Magenta
#A0025C
ΔE00 5.55
Dark Fuchsia
#9D0759
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5E #1CB371
analogous
#B31CA9 #B31C5E #B3261C
triadic
#B31C5E #5EB31C #1C5EB3
tetradic
#B31C5E #A9B31C #1CB371 #261CB3
square
#B31C5E #A9B31C #1CB371 #261CB3
split-complementary
#B31C5E #1CB326 #1CA9B3
monochromatic
#490B26 #7E1442 #B31C5E #DE2E7B #E7639C
Accessibility & contrast
On white
6.47
#B31C5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31C5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5E
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5E | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5e; /* rgb */ color: rgb(179, 28, 94); /* oklch */ color: oklch(50.7% 0.188 1.4);
Tailwind
colors: {
custom: {
50: '#d06c8b',
500: '#b31c5e',
950: '#000000',
},
}SCSS
$custom: #b31c5e; $custom-light: #d06c8b; $custom-dark: #000000;
JSON
{
"hex": "#b31c5e",
"rgb": {
"r": 179,
"g": 28,
"b": 94
},
"hsl": {
"h": 333.775,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50708,
"c": 0.18824,
"h": 1.4
},
"luminance": 0.11222
}Semantic roles & 50–950 ramp
primary
#B31C5E
secondary
#5FCB9C
accent
#F09F38
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D