#B31946#B31946
#B31946 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.185 H 12.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B31946 |
|---|---|
| RGB | rgb(179, 25, 70) |
| HSL | hsl(342, 75%, 40%) |
| HSV | hsv(342, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 60.9%, 29.8%) |
| CIE-LAB | lab(39.11, 60.07, 15.64) |
| CIE-LCH | lch(39.11, 62.07, 14.60°) |
| OKLab | oklab(49.89% 0.1814 0.0385) |
| OKLCH | oklch(49.89% 0.185 12) |
| XYZ | xyz(20.0457, 10.7243, 6.8077) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.89
Purplish Red
#B0054B
ΔE00 3.17
Rouge
#AB1239
ΔE00 3.33
Rose Red
#BE013C
ΔE00 3.70
Ruby
#CA0147
ΔE00 4.32
Cranberry
#9E003A
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31946 #19B386
analogous
#B31993 #B31946 #B33919
triadic
#B31946 #46B319 #1946B3
tetradic
#B31946 #93B319 #19B386 #3919B3
square
#B31946 #93B319 #19B386 #3919B3
split-complementary
#B31946 #19B339 #1993B3
monochromatic
#480A1C #7D1231 #B31946 #E1285E #E85E86
Accessibility & contrast
On white
6.68
#B31946 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#B31946 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31946
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31946 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494847
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31946; /* rgb */ color: rgb(179, 25, 70); /* oklch */ color: oklch(49.9% 0.185 12.0);
Tailwind
colors: {
custom: {
50: '#d16a79',
500: '#b31946',
950: '#000000',
},
}SCSS
$custom: #b31946; $custom-light: #d16a79; $custom-dark: #000000;
JSON
{
"hex": "#b31946",
"rgb": {
"r": 179,
"g": 25,
"b": 70
},
"hsl": {
"h": 342.468,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.49888,
"c": 0.18543,
"h": 12
},
"luminance": 0.10721
}Semantic roles & 50–950 ramp
primary
#B31946
secondary
#5BCCAB
accent
#F2BB36
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B