#B31B5E#B31B5E
#B31B5E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.189 H 1.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B5E |
|---|---|
| RGB | rgb(179, 27, 94) |
| HSL | hsl(334, 74%, 40%) |
| HSV | hsv(334, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 47.5%, 29.8%) |
| CIE-LAB | lab(39.88, 61.43, 1.43) |
| CIE-LCH | lch(39.88, 61.45, 1.33°) |
| OKLab | oklab(50.65% 0.1889 0.0043) |
| OKLCH | oklch(50.65% 0.189 1.3) |
| XYZ | xyz(21.0045, 11.1787, 11.6392) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.92
Deep Pink
#CB0162
ΔE00 4.40
Purplish Red
#B0054B
ΔE00 4.52
Raspberry (survey)
#B00149
ΔE00 5.01
Deep Magenta
#A0025C
ΔE00 5.46
Dark Fuchsia
#9D0759
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B5E #1BB370
analogous
#B31BAA #B31B5E #B3241B
triadic
#B31B5E #5EB31B #1B5EB3
tetradic
#B31B5E #AAB31B #1BB370 #241BB3
square
#B31B5E #AAB31B #1BB370 #241BB3
split-complementary
#B31B5E #1BB324 #1BAAB3
monochromatic
#490B26 #7E1342 #B31B5E #DF2C7B #E7619C
Accessibility & contrast
On white
6.49
#B31B5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B31B5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B5E
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B5E | 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)
#444C5F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b31b5e; /* rgb */ color: rgb(179, 27, 94); /* oklch */ color: oklch(50.7% 0.189 1.3);
Tailwind
colors: {
custom: {
50: '#d06b8b',
500: '#b31b5e',
950: '#000000',
},
}SCSS
$custom: #b31b5e; $custom-light: #d06b8b; $custom-dark: #000000;
JSON
{
"hex": "#b31b5e",
"rgb": {
"r": 179,
"g": 27,
"b": 94
},
"hsl": {
"h": 333.553,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.50652,
"c": 0.18895,
"h": 1.3
},
"luminance": 0.11176
}Semantic roles & 50–950 ramp
primary
#B31B5E
secondary
#5ECC9B
accent
#F09F37
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D