#B31552#B31552
#B31552 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.190 H 6.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B31552 |
|---|---|
| RGB | rgb(179, 21, 82) |
| HSL | hsl(337, 79%, 39%) |
| HSV | hsv(337, 88%, 70%) |
| CMYK | cmyk(0%, 88.3%, 54.2%, 29.8%) |
| CIE-LAB | lab(39.13, 61.67, 7.99) |
| CIE-LCH | lch(39.13, 62.19, 7.38°) |
| OKLab | oklab(49.99% 0.1885 0.0206) |
| OKLCH | oklch(49.99% 0.19 6.2) |
| XYZ | xyz(20.3836, 10.7323, 8.9792) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.69
Raspberry (survey)
#B00149
ΔE00 2.13
Violet Red
#A50055
ΔE00 4.82
Deep Pink
#CB0162
ΔE00 4.96
Berry
#990F4B
ΔE00 5.61
Light Burgundy
#A8415B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31552 #15B376
analogous
#B315A1 #B31552 #B32715
triadic
#B31552 #52B315 #1552B3
tetradic
#B31552 #A1B315 #15B376 #2715B3
square
#B31552 #A1B315 #15B376 #2715B3
split-complementary
#B31552 #15B327 #15A1B3
monochromatic
#450820 #7C0F39 #B31552 #E5206C #EB5790
Accessibility & contrast
On white
6.68
#B31552 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31552 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31552
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31552 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31552 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31552; /* rgb */ color: rgb(179, 21, 82); /* oklch */ color: oklch(50.0% 0.190 6.2);
Tailwind
colors: {
custom: {
50: '#d16982',
500: '#b31552',
950: '#000000',
},
}SCSS
$custom: #b31552; $custom-light: #d16982; $custom-dark: #000000;
JSON
{
"hex": "#b31552",
"rgb": {
"r": 179,
"g": 21,
"b": 82
},
"hsl": {
"h": 336.835,
"s": 79,
"l": 39.216
},
"oklch": {
"l": 0.49991,
"c": 0.18965,
"h": 6.2
},
"luminance": 0.10729
}Semantic roles & 50–950 ramp
primary
#B31552
secondary
#56CEA0
accent
#F5AA32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C