#B31E5D#B31E5D
#B31E5D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 2.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E5D |
|---|---|
| RGB | rgb(179, 30, 93) |
| HSL | hsl(335, 71%, 41%) |
| HSV | hsv(335, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 48%, 29.8%) |
| CIE-LAB | lab(40.09, 60.66, 2.37) |
| CIE-LCH | lch(40.09, 60.70, 2.23°) |
| OKLab | oklab(50.8% 0.1863 0.0067) |
| OKLCH | oklch(50.8% 0.186 2.1) |
| XYZ | xyz(21.0323, 11.3055, 11.4285) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.19
Purplish Red
#B0054B
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 4.25
Raspberry (survey)
#B00149
ΔE00 4.73
Deep Magenta
#A0025C
ΔE00 5.87
Light Burgundy
#A8415B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E5D #1EB374
analogous
#B31EA7 #B31E5D #B3291E
triadic
#B31E5D #5DB31E #1E5DB3
tetradic
#B31E5D #A7B31E #1EB374 #291EB3
square
#B31E5D #A7B31E #1EB374 #291EB3
split-complementary
#B31E5D #1EB329 #1EA7B3
monochromatic
#4A0C27 #7F1542 #B31E5D #DD327A #E5669C
Accessibility & contrast
On white
6.44
#B31E5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B31E5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E5D
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E5D | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31e5d; /* rgb */ color: rgb(179, 30, 93); /* oklch */ color: oklch(50.8% 0.186 2.1);
Tailwind
colors: {
custom: {
50: '#d06c8a',
500: '#b31e5d',
950: '#000000',
},
}SCSS
$custom: #b31e5d; $custom-light: #d06c8a; $custom-dark: #000000;
JSON
{
"hex": "#b31e5d",
"rgb": {
"r": 179,
"g": 30,
"b": 93
},
"hsl": {
"h": 334.631,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.50796,
"c": 0.18645,
"h": 2.1
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#B31E5D
secondary
#62CB9E
accent
#EEA23A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C