#B31D61#B31D61
#B31D61 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.188 H 0.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D61 |
|---|---|
| RGB | rgb(179, 29, 97) |
| HSL | hsl(333, 72%, 41%) |
| HSV | hsv(333, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 45.8%, 29.8%) |
| CIE-LAB | lab(40.13, 61.24, -0.11) |
| CIE-LCH | lch(40.13, 61.24, 359.89°) |
| OKLab | oklab(50.86% 0.1885 0.0004) |
| OKLCH | oklch(50.86% 0.188 0.1) |
| XYZ | xyz(21.1892, 11.3284, 12.3778) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.10
Deep Pink
#CB0162
ΔE00 4.54
Purplish Red
#B0054B
ΔE00 5.24
Deep Magenta
#A0025C
ΔE00 5.29
Magenta (survey)
#C20078
ΔE00 5.32
Dark Fuchsia
#9D0759
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D61 #1DB36F
analogous
#B31DAC #B31D61 #B3241D
triadic
#B31D61 #61B31D #1D61B3
tetradic
#B31D61 #ACB31D #1DB36F #241DB3
square
#B31D61 #ACB31D #1DB36F #241DB3
split-complementary
#B31D61 #1DB324 #1DACB3
monochromatic
#4A0C28 #7E1444 #B31D61 #DD307E #E6649F
Accessibility & contrast
On white
6.43
#B31D61 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B31D61 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D61
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D61 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D61 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C62
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31d61; /* rgb */ color: rgb(179, 29, 97); /* oklch */ color: oklch(50.9% 0.188 0.1);
Tailwind
colors: {
custom: {
50: '#d06c8d',
500: '#b31d61',
950: '#000000',
},
}SCSS
$custom: #b31d61; $custom-light: #d06c8d; $custom-dark: #000000;
JSON
{
"hex": "#b31d61",
"rgb": {
"r": 179,
"g": 29,
"b": 97
},
"hsl": {
"h": 332.8,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50863,
"c": 0.18845,
"h": 0.1
},
"luminance": 0.11326
}Semantic roles & 50–950 ramp
primary
#B31D61
secondary
#61CB9B
accent
#EF9C39
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D