#B6317E#B6317E
#B6317E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.184 H 349.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B6317E |
|---|---|
| RGB | rgb(182, 49, 126) |
| HSL | hsl(325, 58%, 45%) |
| HSV | hsv(325, 73%, 71%) |
| CMYK | cmyk(0%, 73.1%, 30.8%, 28.6%) |
| CIE-LAB | lab(43.73, 59.27, -12.75) |
| CIE-LCH | lch(43.73, 60.63, 347.86°) |
| OKLab | oklab(53.92% 0.1809 -0.0333) |
| OKLCH | oklch(53.92% 0.184 349.6) |
| XYZ | xyz(24.1569, 13.6508, 21.0973) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.15
Magenta (survey)
#C20078
ΔE00 3.45
Red Violet
#9E0168
ΔE00 7.97
Deep Pink
#CB0162
ΔE00 8.25
Light Plum
#9D5783
ΔE00 8.33
Deep Magenta
#A0025C
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6317E #31B669
analogous
#AB31B6 #B6317E #B6313B
triadic
#B6317E #7EB631 #317EB6
tetradic
#B6317E #B6AB31 #31B669 #313BB6
square
#B6317E #B6AB31 #31B669 #313BB6
split-complementary
#B6317E #3BB631 #31B6AB
monochromatic
#56173B #86245D #B6317E #D1539C #DE84B8
Accessibility & contrast
On white
5.63
#B6317E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#B6317E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6317E
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6317E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6317E | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#C32A53
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b6317e; /* rgb */ color: rgb(182, 49, 126); /* oklch */ color: oklch(53.9% 0.184 349.6);
Tailwind
colors: {
custom: {
50: '#d075a3',
500: '#b6317e',
950: '#000000',
},
}SCSS
$custom: #b6317e; $custom-light: #d075a3; $custom-dark: #000000;
JSON
{
"hex": "#b6317e",
"rgb": {
"r": 182,
"g": 49,
"b": 126
},
"hsl": {
"h": 325.263,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.53921,
"c": 0.18393,
"h": 349.6
},
"luminance": 0.13648
}Semantic roles & 50–950 ramp
primary
#B6317E
secondary
#7CC79B
accent
#E18847
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F