#B31547#B31547
#B31547 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.188 H 11.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B31547 |
|---|---|
| RGB | rgb(179, 21, 71) |
| HSL | hsl(341, 79%, 39%) |
| HSV | hsv(341, 88%, 70%) |
| CMYK | cmyk(0%, 88.3%, 60.3%, 29.8%) |
| CIE-LAB | lab(38.86, 60.92, 14.66) |
| CIE-LCH | lch(38.86, 62.66, 13.53°) |
| OKLab | oklab(49.71% 0.1843 0.0363) |
| OKLCH | oklch(49.71% 0.188 11.1) |
| XYZ | xyz(19.9980, 10.5781, 6.9488) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.27
Purplish Red
#B0054B
ΔE00 2.55
Rouge
#AB1239
ΔE00 3.70
Rose Red
#BE013C
ΔE00 4.19
Ruby
#CA0147
ΔE00 4.61
Cranberry
#9E003A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31547 #15B381
analogous
#B31596 #B31547 #B33215
triadic
#B31547 #47B315 #1547B3
tetradic
#B31547 #96B315 #15B381 #3215B3
square
#B31547 #96B315 #15B381 #3215B3
split-complementary
#B31547 #15B332 #1596B3
monochromatic
#45081C #7C0F31 #B31547 #E5205F #EB5786
Accessibility & contrast
On white
6.74
#B31547 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#B31547 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31547
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31547 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474748
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31547; /* rgb */ color: rgb(179, 21, 71); /* oklch */ color: oklch(49.7% 0.188 11.1);
Tailwind
colors: {
custom: {
50: '#d16979',
500: '#b31547',
950: '#000000',
},
}SCSS
$custom: #b31547; $custom-light: #d16979; $custom-dark: #000000;
JSON
{
"hex": "#b31547",
"rgb": {
"r": 179,
"g": 21,
"b": 71
},
"hsl": {
"h": 341.013,
"s": 79,
"l": 39.216
},
"oklch": {
"l": 0.4971,
"c": 0.18786,
"h": 11.1
},
"luminance": 0.10575
}Semantic roles & 50–950 ramp
primary
#B31547
secondary
#56CEA8
accent
#F5B832
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B