#B31E59#B31E59
#B31E59 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.185 H 3.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E59 |
|---|---|
| RGB | rgb(179, 30, 89) |
| HSL | hsl(336, 71%, 41%) |
| HSV | hsv(336, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 50.3%, 29.8%) |
| CIE-LAB | lab(39.98, 60.32, 4.74) |
| CIE-LCH | lch(39.98, 60.51, 4.49°) |
| OKLab | oklab(50.68% 0.1849 0.0127) |
| OKLCH | oklch(50.68% 0.185 3.9) |
| XYZ | xyz(20.8597, 11.2365, 10.5197) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.30
Raspberry (survey)
#B00149
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 4.27
Violet Red
#A50055
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 5.47
Berry
#990F4B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E59 #1EB378
analogous
#B31EA3 #B31E59 #B32E1E
triadic
#B31E59 #59B31E #1E59B3
tetradic
#B31E59 #A3B31E #1EB378 #2E1EB3
square
#B31E59 #A3B31E #1EB378 #2E1EB3
split-complementary
#B31E59 #1EB32E #1EA3B3
monochromatic
#4A0C25 #7F153F #B31E59 #DD3275 #E56698
Accessibility & contrast
On white
6.47
#B31E59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B31E59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E59
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E59 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31e59; /* rgb */ color: rgb(179, 30, 89); /* oklch */ color: oklch(50.7% 0.185 3.9);
Tailwind
colors: {
custom: {
50: '#d06c87',
500: '#b31e59',
950: '#000000',
},
}SCSS
$custom: #b31e59; $custom-light: #d06c87; $custom-dark: #000000;
JSON
{
"hex": "#b31e59",
"rgb": {
"r": 179,
"g": 30,
"b": 89
},
"hsl": {
"h": 336.242,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.50675,
"c": 0.18536,
"h": 3.9
},
"luminance": 0.11234
}Semantic roles & 50–950 ramp
primary
#B31E59
secondary
#62CBA1
accent
#EEA73A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C