#B31B5D#B31B5D
#B31B5D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.189 H 1.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B5D |
|---|---|
| RGB | rgb(179, 27, 93) |
| HSL | hsl(334, 74%, 40%) |
| HSV | hsv(334, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 48%, 29.8%) |
| CIE-LAB | lab(39.85, 61.35, 2.02) |
| CIE-LCH | lch(39.85, 61.38, 1.88°) |
| OKLab | oklab(50.62% 0.1886 0.0058) |
| OKLCH | oklch(50.62% 0.189 1.8) |
| XYZ | xyz(20.9600, 11.1608, 11.4044) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 4.35
Raspberry (survey)
#B00149
ΔE00 4.76
Deep Magenta
#A0025C
ΔE00 5.60
Dark Fuchsia
#9D0759
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B5D #1BB371
analogous
#B31BA9 #B31B5D #B3251B
triadic
#B31B5D #5DB31B #1B5DB3
tetradic
#B31B5D #A9B31B #1BB371 #251BB3
square
#B31B5D #A9B31B #1BB371 #251BB3
split-complementary
#B31B5D #1BB325 #1BA9B3
monochromatic
#490B26 #7E1341 #B31B5D #DF2C7A #E7619B
Accessibility & contrast
On white
6.50
#B31B5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B31B5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B5D
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B5D | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b5d; /* rgb */ color: rgb(179, 27, 93); /* oklch */ color: oklch(50.6% 0.189 1.8);
Tailwind
colors: {
custom: {
50: '#d06b8a',
500: '#b31b5d',
950: '#000000',
},
}SCSS
$custom: #b31b5d; $custom-light: #d06b8a; $custom-dark: #000000;
JSON
{
"hex": "#b31b5d",
"rgb": {
"r": 179,
"g": 27,
"b": 93
},
"hsl": {
"h": 333.947,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.5062,
"c": 0.18865,
"h": 1.8
},
"luminance": 0.11158
}Semantic roles & 50–950 ramp
primary
#B31B5D
secondary
#5ECC9C
accent
#F0A037
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C