#B31E5B#B31E5B
#B31E5B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 3.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E5B |
|---|---|
| RGB | rgb(179, 30, 91) |
| HSL | hsl(335, 71%, 41%) |
| HSV | hsv(335, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 49.2%, 29.8%) |
| CIE-LAB | lab(40.03, 60.49, 3.55) |
| CIE-LCH | lch(40.03, 60.59, 3.36°) |
| OKLab | oklab(50.74% 0.1856 0.0097) |
| OKLCH | oklch(50.74% 0.186 3) |
| XYZ | xyz(20.9449, 11.2705, 10.9680) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.76
Deep Pink
#CB0162
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 4.24
Violet Red
#A50055
ΔE00 4.31
Light Burgundy
#A8415B
ΔE00 5.68
Berry
#990F4B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E5B #1EB376
analogous
#B31EA5 #B31E5B #B32B1E
triadic
#B31E5B #5BB31E #1E5BB3
tetradic
#B31E5B #A5B31E #1EB376 #2B1EB3
square
#B31E5B #A5B31E #1EB376 #2B1EB3
split-complementary
#B31E5B #1EB32B #1EA5B3
monochromatic
#4A0C26 #7F1540 #B31E5B #DD3278 #E5669A
Accessibility & contrast
On white
6.45
#B31E5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31E5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E5B
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E5B | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31e5b; /* rgb */ color: rgb(179, 30, 91); /* oklch */ color: oklch(50.7% 0.186 3.0);
Tailwind
colors: {
custom: {
50: '#d06c89',
500: '#b31e5b',
950: '#000000',
},
}SCSS
$custom: #b31e5b; $custom-light: #d06c89; $custom-dark: #000000;
JSON
{
"hex": "#b31e5b",
"rgb": {
"r": 179,
"g": 30,
"b": 91
},
"hsl": {
"h": 335.436,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.50735,
"c": 0.18589,
"h": 3
},
"luminance": 0.11268
}Semantic roles & 50–950 ramp
primary
#B31E5B
secondary
#62CBA0
accent
#EEA43A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C