#B31C5C#B31C5C
#B31C5C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.188 H 2.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5C |
|---|---|
| RGB | rgb(179, 28, 92) |
| HSL | hsl(335, 73%, 41%) |
| HSV | hsv(335, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 48.6%, 29.8%) |
| CIE-LAB | lab(39.90, 61.04, 2.72) |
| CIE-LCH | lch(39.90, 61.10, 2.55°) |
| OKLab | oklab(50.65% 0.1875 0.0076) |
| OKLCH | oklch(50.65% 0.188 2.3) |
| XYZ | xyz(20.9393, 11.1899, 11.1804) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.01
Violet Red
#A50055
ΔE00 4.07
Deep Pink
#CB0162
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.50
Deep Magenta
#A0025C
ΔE00 5.83
Berry
#990F4B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5C #1CB373
analogous
#B31CA7 #B31C5C #B3281C
triadic
#B31C5C #5CB31C #1C5CB3
tetradic
#B31C5C #A7B31C #1CB373 #281CB3
square
#B31C5C #A7B31C #1CB373 #281CB3
split-complementary
#B31C5C #1CB328 #1CA7B3
monochromatic
#490B26 #7E1441 #B31C5C #DE2E79 #E7639B
Accessibility & contrast
On white
6.49
#B31C5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31C5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5C
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5C | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5c; /* rgb */ color: rgb(179, 28, 92); /* oklch */ color: oklch(50.6% 0.188 2.3);
Tailwind
colors: {
custom: {
50: '#d06c89',
500: '#b31c5c',
950: '#000000',
},
}SCSS
$custom: #b31c5c; $custom-light: #d06c89; $custom-dark: #000000;
JSON
{
"hex": "#b31c5c",
"rgb": {
"r": 179,
"g": 28,
"b": 92
},
"hsl": {
"h": 334.57,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50646,
"c": 0.18764,
"h": 2.3
},
"luminance": 0.11187
}Semantic roles & 50–950 ramp
primary
#B31C5C
secondary
#5FCB9E
accent
#F0A238
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C