#B31657#B31657
#B31657 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.190 H 4.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B31657 |
|---|---|
| RGB | rgb(179, 22, 87) |
| HSL | hsl(335, 78%, 39%) |
| HSV | hsv(335, 88%, 70%) |
| CMYK | cmyk(0%, 87.7%, 51.4%, 29.8%) |
| CIE-LAB | lab(39.32, 61.87, 5.08) |
| CIE-LCH | lch(39.32, 62.08, 4.69°) |
| OKLab | oklab(50.18% 0.1898 0.0135) |
| OKLCH | oklch(50.18% 0.19 4.1) |
| XYZ | xyz(20.5995, 10.8487, 10.0243) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 3.31
Violet Red
#A50055
ΔE00 4.06
Deep Pink
#CB0162
ΔE00 4.51
Berry
#990F4B
ΔE00 5.45
Purple Red
#990147
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31657 #16B372
analogous
#B316A6 #B31657 #B32316
triadic
#B31657 #57B316 #1657B3
tetradic
#B31657 #A6B316 #16B372 #2316B3
square
#B31657 #A6B316 #16B372 #2316B3
split-complementary
#B31657 #16B323 #16A6B3
monochromatic
#460922 #7C0F3D #B31657 #E42272 #EB5995
Accessibility & contrast
On white
6.63
#B31657 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#B31657 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31657
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31657 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31657 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31657; /* rgb */ color: rgb(179, 22, 87); /* oklch */ color: oklch(50.2% 0.190 4.1);
Tailwind
colors: {
custom: {
50: '#d06a86',
500: '#b31657',
950: '#000000',
},
}SCSS
$custom: #b31657; $custom-light: #d06a86; $custom-dark: #000000;
JSON
{
"hex": "#b31657",
"rgb": {
"r": 179,
"g": 22,
"b": 87
},
"hsl": {
"h": 335.159,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.5018,
"c": 0.19024,
"h": 4.1
},
"luminance": 0.10846
}Semantic roles & 50–950 ramp
primary
#B31657
secondary
#57CE9D
accent
#F5A533
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C