#B31C5B#B31C5B
#B31C5B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 2.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C5B |
|---|---|
| RGB | rgb(179, 28, 91) |
| HSL | hsl(335, 73%, 41%) |
| HSV | hsv(335, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 49.2%, 29.8%) |
| CIE-LAB | lab(39.87, 60.95, 3.32) |
| CIE-LCH | lch(39.87, 61.04, 3.11°) |
| OKLab | oklab(50.62% 0.1872 0.0091) |
| OKLCH | oklch(50.62% 0.187 2.8) |
| XYZ | xyz(20.8958, 11.1725, 10.9517) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.76
Violet Red
#A50055
ΔE00 4.13
Raspberry (survey)
#B00149
ΔE00 4.25
Deep Pink
#CB0162
ΔE00 4.28
Berry
#990F4B
ΔE00 5.80
Light Burgundy
#A8415B
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C5B #1CB374
analogous
#B31CA6 #B31C5B #B3281C
triadic
#B31C5B #5BB31C #1C5BB3
tetradic
#B31C5B #A6B31C #1CB374 #281CB3
square
#B31C5B #A6B31C #1CB374 #281CB3
split-complementary
#B31C5B #1CB328 #1CA6B3
monochromatic
#490B25 #7E1440 #B31C5B #DE2E77 #E7639A
Accessibility & contrast
On white
6.49
#B31C5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B31C5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C5B
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C5B | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c5b; /* rgb */ color: rgb(179, 28, 91); /* oklch */ color: oklch(50.6% 0.187 2.8);
Tailwind
colors: {
custom: {
50: '#d06c89',
500: '#b31c5b',
950: '#000000',
},
}SCSS
$custom: #b31c5b; $custom-light: #d06c89; $custom-dark: #000000;
JSON
{
"hex": "#b31c5b",
"rgb": {
"r": 179,
"g": 28,
"b": 91
},
"hsl": {
"h": 334.967,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50616,
"c": 0.18737,
"h": 2.8
},
"luminance": 0.1117
}Semantic roles & 50–950 ramp
primary
#B31C5B
secondary
#5FCB9E
accent
#F0A338
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C