#B6317B#B6317B
#B6317B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.182 H 350.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B6317B |
|---|---|
| RGB | rgb(182, 49, 123) |
| HSL | hsl(327, 58%, 45%) |
| HSV | hsv(327, 73%, 71%) |
| CMYK | cmyk(0%, 73.1%, 32.4%, 28.6%) |
| CIE-LAB | lab(43.62, 58.91, -11.08) |
| CIE-LCH | lch(43.62, 59.95, 349.35°) |
| OKLab | oklab(53.8% 0.1801 -0.0288) |
| OKLCH | oklch(53.8% 0.182 350.9) |
| XYZ | xyz(23.9662, 13.5745, 20.0931) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.29
Mediumvioletred
#C71585
ΔE00 3.42
Deep Pink
#CB0162
ΔE00 7.65
Red Violet
#9E0168
ΔE00 7.92
Deep Magenta
#A0025C
ΔE00 8.24
Light Plum
#9D5783
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6317B #31B66C
analogous
#AF31B6 #B6317B #B63138
triadic
#B6317B #7BB631 #317BB6
tetradic
#B6317B #B6AF31 #31B66C #3138B6
square
#B6317B #B6AF31 #31B66C #3138B6
split-complementary
#B6317B #38B631 #31B6AF
monochromatic
#56173A #86245A #B6317B #D15399 #DE84B6
Accessibility & contrast
On white
5.65
#B6317B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#B6317B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6317B
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6317B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6317B | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#C42852
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b6317b; /* rgb */ color: rgb(182, 49, 123); /* oklch */ color: oklch(53.8% 0.182 350.9);
Tailwind
colors: {
custom: {
50: '#d075a1',
500: '#b6317b',
950: '#000000',
},
}SCSS
$custom: #b6317b; $custom-light: #d075a1; $custom-dark: #000000;
JSON
{
"hex": "#b6317b",
"rgb": {
"r": 182,
"g": 49,
"b": 123
},
"hsl": {
"h": 326.617,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.53803,
"c": 0.18241,
"h": 350.9
},
"luminance": 0.13572
}Semantic roles & 50–950 ramp
primary
#B6317B
secondary
#7CC79D
accent
#E18B47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E