#B31D59#B31D59
#B31D59 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 3.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D59 |
|---|---|
| RGB | rgb(179, 29, 89) |
| HSL | hsl(336, 72%, 41%) |
| HSV | hsv(336, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 50.3%, 29.8%) |
| CIE-LAB | lab(39.89, 60.56, 4.62) |
| CIE-LCH | lch(39.89, 60.73, 4.36°) |
| OKLab | oklab(50.61% 0.1857 0.0124) |
| OKLCH | oklch(50.61% 0.186 3.8) |
| XYZ | xyz(20.8348, 11.1867, 10.5114) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.29
Raspberry (survey)
#B00149
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 4.29
Violet Red
#A50055
ΔE00 4.40
Light Burgundy
#A8415B
ΔE00 5.58
Berry
#990F4B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D59 #1DB377
analogous
#B31DA4 #B31D59 #B32C1D
triadic
#B31D59 #59B31D #1D59B3
tetradic
#B31D59 #A4B31D #1DB377 #2C1DB3
square
#B31D59 #A4B31D #1DB377 #2C1DB3
split-complementary
#B31D59 #1DB32C #1DA4B3
monochromatic
#4A0C25 #7E143F #B31D59 #DD3075 #E66498
Accessibility & contrast
On white
6.49
#B31D59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31D59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D59
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D59 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31d59; /* rgb */ color: rgb(179, 29, 89); /* oklch */ color: oklch(50.6% 0.186 3.8);
Tailwind
colors: {
custom: {
50: '#d06c87',
500: '#b31d59',
950: '#000000',
},
}SCSS
$custom: #b31d59; $custom-light: #d06c87; $custom-dark: #000000;
JSON
{
"hex": "#b31d59",
"rgb": {
"r": 179,
"g": 29,
"b": 89
},
"hsl": {
"h": 336,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.50614,
"c": 0.1861,
"h": 3.8
},
"luminance": 0.11184
}Semantic roles & 50–950 ramp
primary
#B31D59
secondary
#61CBA1
accent
#EFA639
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C