#B31757#B31757
#B31757 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.190 H 4.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B31757 |
|---|---|
| RGB | rgb(179, 23, 87) |
| HSL | hsl(335, 77%, 40%) |
| HSV | hsv(335, 87%, 70%) |
| CMYK | cmyk(0%, 87.2%, 51.4%, 29.8%) |
| CIE-LAB | lab(39.39, 61.68, 5.17) |
| CIE-LCH | lch(39.39, 61.90, 4.79°) |
| OKLab | oklab(50.23% 0.1891 0.0137) |
| OKLCH | oklch(50.23% 0.19 4.2) |
| XYZ | xyz(20.6190, 10.8876, 10.0308) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.81
Raspberry (survey)
#B00149
ΔE00 3.30
Violet Red
#A50055
ΔE00 4.13
Deep Pink
#CB0162
ΔE00 4.49
Berry
#990F4B
ΔE00 5.50
Purple Red
#990147
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31757 #17B373
analogous
#B317A5 #B31757 #B32517
triadic
#B31757 #57B317 #1757B3
tetradic
#B31757 #A5B317 #17B373 #2517B3
square
#B31757 #A5B317 #17B373 #2517B3
split-complementary
#B31757 #17B325 #17A5B3
monochromatic
#470922 #7D103D #B31757 #E32472 #EA5B95
Accessibility & contrast
On white
6.61
#B31757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31757
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31757 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A58
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31757; /* rgb */ color: rgb(179, 23, 87); /* oklch */ color: oklch(50.2% 0.190 4.2);
Tailwind
colors: {
custom: {
50: '#d06a86',
500: '#b31757',
950: '#000000',
},
}SCSS
$custom: #b31757; $custom-light: #d06a86; $custom-dark: #000000;
JSON
{
"hex": "#b31757",
"rgb": {
"r": 179,
"g": 23,
"b": 87
},
"hsl": {
"h": 335.385,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.50228,
"c": 0.18964,
"h": 4.2
},
"luminance": 0.10885
}Semantic roles & 50–950 ramp
primary
#B31757
secondary
#58CD9D
accent
#F4A534
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C