#B31C5D#B31C5D
#B31C5D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 1.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5D |
|---|---|
| RGB | rgb(179, 28, 93) |
| HSL | hsl(334, 73%, 41%) |
| HSV | hsv(334, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 48%, 29.8%) |
| CIE-LAB | lab(39.93, 61.12, 2.13) |
| CIE-LCH | lch(39.93, 61.16, 2.00°) |
| OKLab | oklab(50.68% 0.1878 0.0061) |
| OKLCH | oklch(50.68% 0.188 1.9) |
| XYZ | xyz(20.9833, 11.2075, 11.4121) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.02
Purplish Red
#B0054B
ΔE00 4.25
Deep Pink
#CB0162
ΔE00 4.32
Raspberry (survey)
#B00149
ΔE00 4.75
Deep Magenta
#A0025C
ΔE00 5.69
Dark Fuchsia
#9D0759
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5D #1CB372
analogous
#B31CA8 #B31C5D #B3261C
triadic
#B31C5D #5DB31C #1C5DB3
tetradic
#B31C5D #A8B31C #1CB372 #261CB3
square
#B31C5D #A8B31C #1CB372 #261CB3
split-complementary
#B31C5D #1CB326 #1CA8B3
monochromatic
#490B26 #7E1442 #B31C5D #DE2E7A #E7639C
Accessibility & contrast
On white
6.48
#B31C5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31C5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5D
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5D | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5d; /* rgb */ color: rgb(179, 28, 93); /* oklch */ color: oklch(50.7% 0.188 1.9);
Tailwind
colors: {
custom: {
50: '#d06c8a',
500: '#b31c5d',
950: '#000000',
},
}SCSS
$custom: #b31c5d; $custom-light: #d06c8a; $custom-dark: #000000;
JSON
{
"hex": "#b31c5d",
"rgb": {
"r": 179,
"g": 28,
"b": 93
},
"hsl": {
"h": 334.172,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50677,
"c": 0.18794,
"h": 1.9
},
"luminance": 0.11205
}Semantic roles & 50–950 ramp
primary
#B31C5D
secondary
#5FCB9D
accent
#F0A138
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C