#B31C6D#B31C6D
#B31C6D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.194 H 354.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C6D |
|---|---|
| RGB | rgb(179, 28, 109) |
| HSL | hsl(328, 73%, 41%) |
| HSV | hsv(328, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 39.1%, 29.8%) |
| CIE-LAB | lab(40.44, 62.61, -7.21) |
| CIE-LCH | lch(40.44, 63.03, 353.44°) |
| OKLab | oklab(51.22% 0.1928 -0.0182) |
| OKLCH | oklch(51.22% 0.194 354.6) |
| XYZ | xyz(21.7675, 11.5212, 15.5426) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.00
Deep Magenta
#A0025C
ΔE00 5.05
Mediumvioletred
#C71585
ΔE00 5.31
Violet Red
#A50055
ΔE00 5.46
Dark Fuchsia
#9D0759
ΔE00 5.60
Red Violet
#9E0168
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C6D #1CB362
analogous
#AE1CB3 #B31C6D #B31C21
triadic
#B31C6D #6DB31C #1C6DB3
tetradic
#B31C6D #B3AE1C #1CB362 #1C21B3
square
#B31C6D #B3AE1C #1CB362 #1C21B3
split-complementary
#B31C6D #21B31C #1CB3AE
monochromatic
#490B2D #7E144D #B31C6D #DE2E8D #E763A9
Accessibility & contrast
On white
6.36
#B31C6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B31C6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C6D
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C6D | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b31c6d; /* rgb */ color: rgb(179, 28, 109); /* oklch */ color: oklch(51.2% 0.194 354.6);
Tailwind
colors: {
custom: {
50: '#cf6c96',
500: '#b31c6d',
950: '#000000',
},
}SCSS
$custom: #b31c6d; $custom-light: #cf6c96; $custom-dark: #000000;
JSON
{
"hex": "#b31c6d",
"rgb": {
"r": 179,
"g": 28,
"b": 109
},
"hsl": {
"h": 327.815,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.51223,
"c": 0.1937,
"h": 354.6
},
"luminance": 0.11518
}Semantic roles & 50–950 ramp
primary
#B31C6D
secondary
#5FCB91
accent
#F08D38
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E