#B31B61#B31B61
#B31B61 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 359.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B61 |
|---|---|
| RGB | rgb(179, 27, 97) |
| HSL | hsl(332, 74%, 40%) |
| HSV | hsv(332, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 45.8%, 29.8%) |
| CIE-LAB | lab(39.97, 61.70, -0.34) |
| CIE-LCH | lch(39.97, 61.70, 359.68°) |
| OKLab | oklab(50.75% 0.1899 -0.0002) |
| OKLCH | oklch(50.75% 0.19 359.9) |
| XYZ | xyz(21.1418, 11.2336, 12.3620) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.97
Deep Pink
#CB0162
ΔE00 4.63
Deep Magenta
#A0025C
ΔE00 5.13
Magenta (survey)
#C20078
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B61 #1BB36D
analogous
#B31BAD #B31B61 #B3211B
triadic
#B31B61 #61B31B #1B61B3
tetradic
#B31B61 #ADB31B #1BB36D #211BB3
square
#B31B61 #ADB31B #1BB36D #211BB3
split-complementary
#B31B61 #1BB321 #1BADB3
monochromatic
#490B27 #7E1344 #B31B61 #DF2C7F #E7619F
Accessibility & contrast
On white
6.47
#B31B61 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31B61 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B61
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B61 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B61 | 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)
#434C63
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b61; /* rgb */ color: rgb(179, 27, 97); /* oklch */ color: oklch(50.7% 0.190 359.9);
Tailwind
colors: {
custom: {
50: '#d06c8d',
500: '#b31b61',
950: '#000000',
},
}SCSS
$custom: #b31b61; $custom-light: #d06c8d; $custom-dark: #000000;
JSON
{
"hex": "#b31b61",
"rgb": {
"r": 179,
"g": 27,
"b": 97
},
"hsl": {
"h": 332.368,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.50748,
"c": 0.1899,
"h": 359.9
},
"luminance": 0.11231
}Semantic roles & 50–950 ramp
primary
#B31B61
secondary
#5ECC99
accent
#F09B37
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D