#B31759#B31759
#B31759 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.190 H 3.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B31759 |
|---|---|
| RGB | rgb(179, 23, 89) |
| HSL | hsl(335, 77%, 40%) |
| HSV | hsv(335, 87%, 70%) |
| CMYK | cmyk(0%, 87.2%, 50.3%, 29.8%) |
| CIE-LAB | lab(39.45, 61.84, 3.98) |
| CIE-LCH | lch(39.45, 61.97, 3.68°) |
| OKLab | oklab(50.29% 0.1899 0.0107) |
| OKLCH | oklch(50.29% 0.19 3.2) |
| XYZ | xyz(20.7019, 10.9208, 10.4671) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.31
Raspberry (survey)
#B00149
ΔE00 3.80
Violet Red
#A50055
ΔE00 3.90
Deep Pink
#CB0162
ΔE00 4.43
Berry
#990F4B
ΔE00 5.51
Deep Magenta
#A0025C
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31759 #17B371
analogous
#B317A7 #B31759 #B32317
triadic
#B31759 #59B317 #1759B3
tetradic
#B31759 #A7B317 #17B371 #2317B3
square
#B31759 #A7B317 #17B371 #2317B3
split-complementary
#B31759 #17B323 #17A7B3
monochromatic
#470923 #7D103E #B31759 #E32475 #EA5B97
Accessibility & contrast
On white
6.60
#B31759 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B31759 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31759
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31759 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31759 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31759; /* rgb */ color: rgb(179, 23, 89); /* oklch */ color: oklch(50.3% 0.190 3.2);
Tailwind
colors: {
custom: {
50: '#d06a87',
500: '#b31759',
950: '#000000',
},
}SCSS
$custom: #b31759; $custom-light: #d06a87; $custom-dark: #000000;
JSON
{
"hex": "#b31759",
"rgb": {
"r": 179,
"g": 23,
"b": 89
},
"hsl": {
"h": 334.615,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.50288,
"c": 0.19015,
"h": 3.2
},
"luminance": 0.10918
}Semantic roles & 50–950 ramp
primary
#B31759
secondary
#58CD9C
accent
#F4A334
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C