#B31B59#B31B59
#B31B59 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 3.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B59 |
|---|---|
| RGB | rgb(179, 27, 89) |
| HSL | hsl(336, 74%, 40%) |
| HSV | hsv(336, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 50.3%, 29.8%) |
| CIE-LAB | lab(39.73, 61.01, 4.39) |
| CIE-LCH | lch(39.73, 61.17, 4.12°) |
| OKLab | oklab(50.5% 0.1872 0.0118) |
| OKLCH | oklch(50.5% 0.188 3.6) |
| XYZ | xyz(20.7874, 11.0918, 10.4956) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.29
Raspberry (survey)
#B00149
ΔE00 3.77
Violet Red
#A50055
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 4.33
Berry
#990F4B
ΔE00 5.70
Light Burgundy
#A8415B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B59 #1BB375
analogous
#B31BA5 #B31B59 #B3291B
triadic
#B31B59 #59B31B #1B59B3
tetradic
#B31B59 #A5B31B #1BB375 #291BB3
square
#B31B59 #A5B31B #1BB375 #291BB3
split-complementary
#B31B59 #1BB329 #1BA5B3
monochromatic
#490B24 #7E133F #B31B59 #DF2C75 #E76198
Accessibility & contrast
On white
6.53
#B31B59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#B31B59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B59
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B59 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5A
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b59; /* rgb */ color: rgb(179, 27, 89); /* oklch */ color: oklch(50.5% 0.188 3.6);
Tailwind
colors: {
custom: {
50: '#d06b87',
500: '#b31b59',
950: '#000000',
},
}SCSS
$custom: #b31b59; $custom-light: #d06b87; $custom-dark: #000000;
JSON
{
"hex": "#b31b59",
"rgb": {
"r": 179,
"g": 27,
"b": 89
},
"hsl": {
"h": 335.526,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.50498,
"c": 0.18753,
"h": 3.6
},
"luminance": 0.11089
}Semantic roles & 50–950 ramp
primary
#B31B59
secondary
#5ECC9F
accent
#F0A537
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C