#B31C5F#B31C5F
#B31C5F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.189 H 0.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5F |
|---|---|
| RGB | rgb(179, 28, 95) |
| HSL | hsl(333, 73%, 41%) |
| HSV | hsv(333, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 46.9%, 29.8%) |
| CIE-LAB | lab(39.99, 61.30, 0.95) |
| CIE-LCH | lch(39.99, 61.30, 0.89°) |
| OKLab | oklab(50.74% 0.1885 0.0031) |
| OKLCH | oklch(50.74% 0.189 0.9) |
| XYZ | xyz(21.0730, 11.2434, 11.8848) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.99
Deep Pink
#CB0162
ΔE00 4.42
Purplish Red
#B0054B
ΔE00 4.75
Raspberry (survey)
#B00149
ΔE00 5.25
Deep Magenta
#A0025C
ΔE00 5.42
Dark Fuchsia
#9D0759
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5F #1CB370
analogous
#B31CAB #B31C5F #B3241C
triadic
#B31C5F #5FB31C #1C5FB3
tetradic
#B31C5F #ABB31C #1CB370 #241CB3
square
#B31C5F #ABB31C #1CB370 #241CB3
split-complementary
#B31C5F #1CB324 #1CABB3
monochromatic
#490B27 #7E1443 #B31C5F #DE2E7C #E7639D
Accessibility & contrast
On white
6.47
#B31C5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31C5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5F
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5F | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5f; /* rgb */ color: rgb(179, 28, 95); /* oklch */ color: oklch(50.7% 0.189 0.9);
Tailwind
colors: {
custom: {
50: '#d06c8c',
500: '#b31c5f',
950: '#000000',
},
}SCSS
$custom: #b31c5f; $custom-light: #d06c8c; $custom-dark: #000000;
JSON
{
"hex": "#b31c5f",
"rgb": {
"r": 179,
"g": 28,
"b": 95
},
"hsl": {
"h": 333.377,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.5074,
"c": 0.18855,
"h": 0.9
},
"luminance": 0.1124
}Semantic roles & 50–950 ramp
primary
#B31C5F
secondary
#5FCB9B
accent
#F09E38
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D