#B31C6A#B31C6A
#B31C6A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 355.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C6A |
|---|---|
| RGB | rgb(179, 28, 106) |
| HSL | hsl(329, 73%, 41%) |
| HSV | hsv(329, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 40.8%, 29.8%) |
| CIE-LAB | lab(40.34, 62.32, -5.48) |
| CIE-LCH | lch(40.34, 62.56, 354.98°) |
| OKLab | oklab(51.11% 0.192 -0.0136) |
| OKLCH | oklch(51.11% 0.192 355.9) |
| XYZ | xyz(21.6088, 11.4577, 14.7065) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.45
Deep Magenta
#A0025C
ΔE00 4.91
Violet Red
#A50055
ΔE00 4.97
Dark Fuchsia
#9D0759
ΔE00 5.39
Deep Pink
#CB0162
ΔE00 5.82
Mediumvioletred
#C71585
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C6A #1CB365
analogous
#B11CB3 #B31C6A #B31C1E
triadic
#B31C6A #6AB31C #1C6AB3
tetradic
#B31C6A #B3B11C #1CB365 #1C1EB3
square
#B31C6A #B3B11C #1CB365 #1C1EB3
split-complementary
#B31C6A #1EB31C #1CB3B1
monochromatic
#490B2B #7E144B #B31C6A #DE2E89 #E763A7
Accessibility & contrast
On white
6.38
#B31C6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B31C6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C6A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C6A | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404D6C
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#C20042
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31c6a; /* rgb */ color: rgb(179, 28, 106); /* oklch */ color: oklch(51.1% 0.192 355.9);
Tailwind
colors: {
custom: {
50: '#cf6c94',
500: '#b31c6a',
950: '#000000',
},
}SCSS
$custom: #b31c6a; $custom-light: #cf6c94; $custom-dark: #000000;
JSON
{
"hex": "#b31c6a",
"rgb": {
"r": 179,
"g": 28,
"b": 106
},
"hsl": {
"h": 329.007,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.51114,
"c": 0.19246,
"h": 355.9
},
"luminance": 0.11455
}Semantic roles & 50–950 ramp
primary
#B31C6A
secondary
#5FCB94
accent
#F09138
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E