#B31D5A#B31D5A
#B31D5A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 3.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D5A |
|---|---|
| RGB | rgb(179, 29, 90) |
| HSL | hsl(336, 72%, 41%) |
| HSV | hsv(336, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 49.7%, 29.8%) |
| CIE-LAB | lab(39.92, 60.64, 4.02) |
| CIE-LCH | lch(39.92, 60.77, 3.80°) |
| OKLab | oklab(50.64% 0.1861 0.0109) |
| OKLCH | oklch(50.64% 0.186 3.3) |
| XYZ | xyz(20.8771, 11.2036, 10.7341) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.52
Raspberry (survey)
#B00149
ΔE00 4.01
Deep Pink
#CB0162
ΔE00 4.26
Violet Red
#A50055
ΔE00 4.30
Light Burgundy
#A8415B
ΔE00 5.68
Berry
#990F4B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D5A #1DB376
analogous
#B31DA5 #B31D5A #B32B1D
triadic
#B31D5A #5AB31D #1D5AB3
tetradic
#B31D5A #A5B31D #1DB376 #2B1DB3
square
#B31D5A #A5B31D #1DB376 #2B1DB3
split-complementary
#B31D5A #1DB32B #1DA5B3
monochromatic
#4A0C25 #7E1440 #B31D5A #DD3076 #E66499
Accessibility & contrast
On white
6.48
#B31D5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31D5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D5A
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D5A | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 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: #b31d5a; /* rgb */ color: rgb(179, 29, 90); /* oklch */ color: oklch(50.6% 0.186 3.3);
Tailwind
colors: {
custom: {
50: '#d06c88',
500: '#b31d5a',
950: '#000000',
},
}SCSS
$custom: #b31d5a; $custom-light: #d06c88; $custom-dark: #000000;
JSON
{
"hex": "#b31d5a",
"rgb": {
"r": 179,
"g": 29,
"b": 90
},
"hsl": {
"h": 335.6,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50644,
"c": 0.18637,
"h": 3.3
},
"luminance": 0.11201
}Semantic roles & 50–950 ramp
primary
#B31D5A
secondary
#61CBA0
accent
#EFA539
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C