#B31958#B31958
#B31958 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 3.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B31958 |
|---|---|
| RGB | rgb(179, 25, 88) |
| HSL | hsl(335, 75%, 40%) |
| HSV | hsv(335, 86%, 70%) |
| CMYK | cmyk(0%, 86%, 50.8%, 29.8%) |
| CIE-LAB | lab(39.56, 61.36, 4.77) |
| CIE-LCH | lch(39.56, 61.54, 4.45°) |
| OKLab | oklab(50.36% 0.1882 0.0127) |
| OKLCH | oklch(50.36% 0.189 3.9) |
| XYZ | xyz(20.7014, 10.9865, 10.2612) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.53
Violet Red
#A50055
ΔE00 4.16
Deep Pink
#CB0162
ΔE00 4.41
Berry
#990F4B
ΔE00 5.59
Light Burgundy
#A8415B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31958 #19B374
analogous
#B319A5 #B31958 #B32719
triadic
#B31958 #58B319 #1958B3
tetradic
#B31958 #A5B319 #19B374 #2719B3
square
#B31958 #A5B319 #19B374 #2719B3
split-complementary
#B31958 #19B327 #19A5B3
monochromatic
#480A23 #7D123E #B31958 #E12874 #E85E97
Accessibility & contrast
On white
6.57
#B31958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B31958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31958
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31958 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b31958; /* rgb */ color: rgb(179, 25, 88); /* oklch */ color: oklch(50.4% 0.189 3.9);
Tailwind
colors: {
custom: {
50: '#d06b86',
500: '#b31958',
950: '#000000',
},
}SCSS
$custom: #b31958; $custom-light: #d06b86; $custom-dark: #000000;
JSON
{
"hex": "#b31958",
"rgb": {
"r": 179,
"g": 25,
"b": 88
},
"hsl": {
"h": 335.455,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.5036,
"c": 0.18862,
"h": 3.9
},
"luminance": 0.10984
}Semantic roles & 50–950 ramp
primary
#B31958
secondary
#5BCC9E
accent
#F2A536
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C