#B31E5A#B31E5A
#B31E5A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 3.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E5A |
|---|---|
| RGB | rgb(179, 30, 90) |
| HSL | hsl(336, 71%, 41%) |
| HSV | hsv(336, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 49.7%, 29.8%) |
| CIE-LAB | lab(40.00, 60.40, 4.14) |
| CIE-LCH | lch(40.00, 60.55, 3.92°) |
| OKLab | oklab(50.71% 0.1853 0.0112) |
| OKLCH | oklch(50.71% 0.186 3.5) |
| XYZ | xyz(20.9020, 11.2534, 10.7424) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 4.01
Deep Pink
#CB0162
ΔE00 4.24
Violet Red
#A50055
ΔE00 4.39
Light Burgundy
#A8415B
ΔE00 5.57
Berry
#990F4B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E5A #1EB377
analogous
#B31EA4 #B31E5A #B32C1E
triadic
#B31E5A #5AB31E #1E5AB3
tetradic
#B31E5A #A4B31E #1EB377 #2C1EB3
square
#B31E5A #A4B31E #1EB377 #2C1EB3
split-complementary
#B31E5A #1EB32C #1EA4B3
monochromatic
#4A0C25 #7F1540 #B31E5A #DD3276 #E56699
Accessibility & contrast
On white
6.46
#B31E5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31E5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E5A
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E5A | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31e5a; /* rgb */ color: rgb(179, 30, 90); /* oklch */ color: oklch(50.7% 0.186 3.5);
Tailwind
colors: {
custom: {
50: '#d06c88',
500: '#b31e5a',
950: '#000000',
},
}SCSS
$custom: #b31e5a; $custom-light: #d06c88; $custom-dark: #000000;
JSON
{
"hex": "#b31e5a",
"rgb": {
"r": 179,
"g": 30,
"b": 90
},
"hsl": {
"h": 335.839,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.50705,
"c": 0.18562,
"h": 3.5
},
"luminance": 0.1125
}Semantic roles & 50–950 ramp
primary
#B31E5A
secondary
#62CBA1
accent
#EEA53A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C