#B31F5B#B31F5B
#B31F5B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 3.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B31F5B |
|---|---|
| RGB | rgb(179, 31, 91) |
| HSL | hsl(336, 70%, 41%) |
| HSV | hsv(336, 83%, 70%) |
| CMYK | cmyk(0%, 82.7%, 49.2%, 29.8%) |
| CIE-LAB | lab(40.12, 60.24, 3.67) |
| CIE-LCH | lch(40.12, 60.36, 3.49°) |
| OKLab | oklab(50.8% 0.1848 0.01) |
| OKLCH | oklch(50.8% 0.185 3.1) |
| XYZ | xyz(20.9706, 11.3220, 10.9766) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.76
Deep Pink
#CB0162
ΔE00 4.20
Raspberry (survey)
#B00149
ΔE00 4.24
Violet Red
#A50055
ΔE00 4.40
Light Burgundy
#A8415B
ΔE00 5.57
Berry
#990F4B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31F5B #1FB377
analogous
#B31FA5 #B31F5B #B32D1F
triadic
#B31F5B #5BB31F #1F5BB3
tetradic
#B31F5B #A5B31F #1FB377 #2D1FB3
square
#B31F5B #A5B31F #1FB377 #2D1FB3
split-complementary
#B31F5B #1FB32D #1FA5B3
monochromatic
#4B0D26 #7F1640 #B31F5B #DC3378 #E5689A
Accessibility & contrast
On white
6.43
#B31F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B31F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31F5B
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31F5B | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31f5b; /* rgb */ color: rgb(179, 31, 91); /* oklch */ color: oklch(50.8% 0.185 3.1);
Tailwind
colors: {
custom: {
50: '#d06d89',
500: '#b31f5b',
950: '#000000',
},
}SCSS
$custom: #b31f5b; $custom-light: #d06d89; $custom-dark: #000000;
JSON
{
"hex": "#b31f5b",
"rgb": {
"r": 179,
"g": 31,
"b": 91
},
"hsl": {
"h": 335.676,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.50797,
"c": 0.18512,
"h": 3.1
},
"luminance": 0.11319
}Semantic roles & 50–950 ramp
primary
#B31F5B
secondary
#64CAA1
accent
#EDA53B
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C