#B31947#B31947
#B31947 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 11.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B31947 |
|---|---|
| RGB | rgb(179, 25, 71) |
| HSL | hsl(342, 75%, 40%) |
| HSV | hsv(342, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 60.3%, 29.8%) |
| CIE-LAB | lab(39.13, 60.13, 15.03) |
| CIE-LCH | lch(39.13, 61.98, 14.04°) |
| OKLab | oklab(49.91% 0.1818 0.0372) |
| OKLCH | oklch(49.91% 0.186 11.6) |
| XYZ | xyz(20.0775, 10.7370, 6.9753) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.65
Purplish Red
#B0054B
ΔE00 2.91
Rouge
#AB1239
ΔE00 3.58
Rose Red
#BE013C
ΔE00 3.96
Ruby
#CA0147
ΔE00 4.42
Cranberry
#9E003A
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31947 #19B385
analogous
#B31994 #B31947 #B33819
triadic
#B31947 #47B319 #1947B3
tetradic
#B31947 #94B319 #19B385 #3819B3
square
#B31947 #94B319 #19B385 #3819B3
split-complementary
#B31947 #19B338 #1994B3
monochromatic
#480A1C #7D1232 #B31947 #E1285F #E85E87
Accessibility & contrast
On white
6.67
#B31947 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31947 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31947
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31947 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494848
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31947; /* rgb */ color: rgb(179, 25, 71); /* oklch */ color: oklch(49.9% 0.186 11.6);
Tailwind
colors: {
custom: {
50: '#d16a79',
500: '#b31947',
950: '#000000',
},
}SCSS
$custom: #b31947; $custom-light: #d16a79; $custom-dark: #000000;
JSON
{
"hex": "#b31947",
"rgb": {
"r": 179,
"g": 25,
"b": 71
},
"hsl": {
"h": 342.078,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.49911,
"c": 0.18554,
"h": 11.6
},
"luminance": 0.10734
}Semantic roles & 50–950 ramp
primary
#B31947
secondary
#5BCCAB
accent
#F2BA36
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B