#B31C59#B31C59
#B31C59 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.187 H 3.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C59 |
|---|---|
| RGB | rgb(179, 28, 89) |
| HSL | hsl(336, 73%, 41%) |
| HSV | hsv(336, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 50.3%, 29.8%) |
| CIE-LAB | lab(39.81, 60.79, 4.50) |
| CIE-LCH | lch(39.81, 60.95, 4.24°) |
| OKLab | oklab(50.56% 0.1864 0.0121) |
| OKLCH | oklch(50.56% 0.187 3.7) |
| XYZ | xyz(20.8107, 11.1385, 10.5034) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.29
Raspberry (survey)
#B00149
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 4.31
Violet Red
#A50055
ΔE00 4.31
Light Burgundy
#A8415B
ΔE00 5.68
Berry
#990F4B
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C59 #1CB376
analogous
#B31CA4 #B31C59 #B32B1C
triadic
#B31C59 #59B31C #1C59B3
tetradic
#B31C59 #A4B31C #1CB376 #2B1CB3
square
#B31C59 #A4B31C #1CB376 #2B1CB3
split-complementary
#B31C59 #1CB32B #1CA4B3
monochromatic
#490B24 #7E143F #B31C59 #DE2E75 #E76398
Accessibility & contrast
On white
6.51
#B31C59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B31C59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C59
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C59 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31c59; /* rgb */ color: rgb(179, 28, 89); /* oklch */ color: oklch(50.6% 0.187 3.7);
Tailwind
colors: {
custom: {
50: '#d06c87',
500: '#b31c59',
950: '#000000',
},
}SCSS
$custom: #b31c59; $custom-light: #d06c87; $custom-dark: #000000;
JSON
{
"hex": "#b31c59",
"rgb": {
"r": 179,
"g": 28,
"b": 89
},
"hsl": {
"h": 335.762,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.50555,
"c": 0.18683,
"h": 3.7
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#B31C59
secondary
#5FCBA0
accent
#F0A638
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C