#B31D5C#B31D5C
#B31D5C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 2.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D5C |
|---|---|
| RGB | rgb(179, 29, 92) |
| HSL | hsl(335, 72%, 41%) |
| HSV | hsv(335, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 48.6%, 29.8%) |
| CIE-LAB | lab(39.98, 60.81, 2.84) |
| CIE-LCH | lch(39.98, 60.87, 2.67°) |
| OKLab | oklab(50.71% 0.1868 0.0079) |
| OKLCH | oklch(50.71% 0.187 2.4) |
| XYZ | xyz(20.9634, 11.2381, 11.1884) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.00
Violet Red
#A50055
ΔE00 4.15
Deep Pink
#CB0162
ΔE00 4.26
Raspberry (survey)
#B00149
ΔE00 4.49
Berry
#990F4B
ΔE00 5.89
Light Burgundy
#A8415B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D5C #1DB374
analogous
#B31DA7 #B31D5C #B3291D
triadic
#B31D5C #5CB31D #1D5CB3
tetradic
#B31D5C #A7B31D #1DB374 #291DB3
square
#B31D5C #A7B31D #1DB374 #291DB3
split-complementary
#B31D5C #1DB329 #1DA7B3
monochromatic
#4A0C26 #7E1441 #B31D5C #DD3079 #E6649B
Accessibility & contrast
On white
6.47
#B31D5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31D5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D5C
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D5C | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#6D6859
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31d5c; /* rgb */ color: rgb(179, 29, 92); /* oklch */ color: oklch(50.7% 0.187 2.4);
Tailwind
colors: {
custom: {
50: '#d06c89',
500: '#b31d5c',
950: '#000000',
},
}SCSS
$custom: #b31d5c; $custom-light: #d06c89; $custom-dark: #000000;
JSON
{
"hex": "#b31d5c",
"rgb": {
"r": 179,
"g": 29,
"b": 92
},
"hsl": {
"h": 334.8,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50705,
"c": 0.18692,
"h": 2.4
},
"luminance": 0.11235
}Semantic roles & 50–950 ramp
primary
#B31D5C
secondary
#61CB9E
accent
#EFA239
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C