#B31954#B31954
#B31954 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 5.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B31954 |
|---|---|
| RGB | rgb(179, 25, 84) |
| HSL | hsl(337, 75%, 40%) |
| HSV | hsv(337, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 53.1%, 29.8%) |
| CIE-LAB | lab(39.45, 61.04, 7.17) |
| CIE-LCH | lch(39.45, 61.46, 6.70°) |
| OKLab | oklab(50.25% 0.1867 0.0186) |
| OKLCH | oklch(50.25% 0.188 5.7) |
| XYZ | xyz(20.5402, 10.9221, 9.4124) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.16
Raspberry (survey)
#B00149
ΔE00 2.61
Deep Pink
#CB0162
ΔE00 4.70
Violet Red
#A50055
ΔE00 4.76
Light Burgundy
#A8415B
ΔE00 5.62
Berry
#990F4B
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31954 #19B378
analogous
#B319A1 #B31954 #B32B19
triadic
#B31954 #54B319 #1954B3
tetradic
#B31954 #A1B319 #19B378 #2B19B3
square
#B31954 #A1B319 #19B378 #2B19B3
split-complementary
#B31954 #19B32B #19A1B3
monochromatic
#480A22 #7D123B #B31954 #E1286F #E85E93
Accessibility & contrast
On white
6.60
#B31954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31954
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31954 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31954; /* rgb */ color: rgb(179, 25, 84); /* oklch */ color: oklch(50.2% 0.188 5.7);
Tailwind
colors: {
custom: {
50: '#d06b83',
500: '#b31954',
950: '#000000',
},
}SCSS
$custom: #b31954; $custom-light: #d06b83; $custom-dark: #000000;
JSON
{
"hex": "#b31954",
"rgb": {
"r": 179,
"g": 25,
"b": 84
},
"hsl": {
"h": 337.013,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.50245,
"c": 0.18767,
"h": 5.7
},
"luminance": 0.10919
}Semantic roles & 50–950 ramp
primary
#B31954
secondary
#5BCCA1
accent
#F2AA36
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C