#B31551#B31551
#B31551 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 6.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B31551 |
|---|---|
| RGB | rgb(179, 21, 81) |
| HSL | hsl(337, 79%, 39%) |
| HSV | hsv(337, 88%, 70%) |
| CMYK | cmyk(0%, 88.3%, 54.7%, 29.8%) |
| CIE-LAB | lab(39.10, 61.60, 8.59) |
| CIE-LCH | lch(39.10, 62.20, 7.94°) |
| OKLab | oklab(49.96% 0.1882 0.0221) |
| OKLCH | oklch(49.96% 0.189 6.7) |
| XYZ | xyz(20.3458, 10.7172, 8.7803) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.52
Raspberry (survey)
#B00149
ΔE00 1.93
Violet Red
#A50055
ΔE00 5.02
Deep Pink
#CB0162
ΔE00 5.09
Berry
#990F4B
ΔE00 5.70
Light Burgundy
#A8415B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31551 #15B377
analogous
#B315A0 #B31551 #B32815
triadic
#B31551 #51B315 #1551B3
tetradic
#B31551 #A0B315 #15B377 #2815B3
square
#B31551 #A0B315 #15B377 #2815B3
split-complementary
#B31551 #15B328 #15A0B3
monochromatic
#45081F #7C0F38 #B31551 #E5206B #EB578F
Accessibility & contrast
On white
6.68
#B31551 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#B31551 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31551
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31551 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31551 | 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)
#454852
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31551; /* rgb */ color: rgb(179, 21, 81); /* oklch */ color: oklch(50.0% 0.189 6.7);
Tailwind
colors: {
custom: {
50: '#d16981',
500: '#b31551',
950: '#000000',
},
}SCSS
$custom: #b31551; $custom-light: #d16981; $custom-dark: #000000;
JSON
{
"hex": "#b31551",
"rgb": {
"r": 179,
"g": 21,
"b": 81
},
"hsl": {
"h": 337.215,
"s": 79,
"l": 39.216
},
"oklch": {
"l": 0.49964,
"c": 0.18945,
"h": 6.7
},
"luminance": 0.10714
}Semantic roles & 50–950 ramp
primary
#B31551
secondary
#56CEA0
accent
#F5AB32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C