#B6317F#B6317F
#B6317F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.184 H 349.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B6317F |
|---|---|
| RGB | rgb(182, 49, 127) |
| HSL | hsl(325, 58%, 45%) |
| HSV | hsv(325, 73%, 71%) |
| CMYK | cmyk(0%, 73.1%, 30.2%, 28.6%) |
| CIE-LAB | lab(43.77, 59.39, -13.31) |
| CIE-LCH | lch(43.77, 60.86, 347.37°) |
| OKLab | oklab(53.96% 0.1811 -0.0349) |
| OKLCH | oklch(53.96% 0.184 349.1) |
| XYZ | xyz(24.2217, 13.6767, 21.4389) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.09
Magenta (survey)
#C20078
ΔE00 3.53
Red Violet
#9E0168
ΔE00 8.00
Light Plum
#9D5783
ΔE00 8.31
Deep Pink
#CB0162
ΔE00 8.45
Deep Magenta
#A0025C
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6317F #31B668
analogous
#AA31B6 #B6317F #B6313C
triadic
#B6317F #7FB631 #317FB6
tetradic
#B6317F #B6AA31 #31B668 #313CB6
square
#B6317F #B6AA31 #31B668 #313CB6
split-complementary
#B6317F #3CB631 #31B6AA
monochromatic
#56173C #86245D #B6317F #D1539D #DE84B8
Accessibility & contrast
On white
5.62
#B6317F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#B6317F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6317F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6317F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6317F | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455981
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#C32A54
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b6317f; /* rgb */ color: rgb(182, 49, 127); /* oklch */ color: oklch(54.0% 0.184 349.1);
Tailwind
colors: {
custom: {
50: '#d075a4',
500: '#b6317f',
950: '#000000',
},
}SCSS
$custom: #b6317f; $custom-light: #d075a4; $custom-dark: #000000;
JSON
{
"hex": "#b6317f",
"rgb": {
"r": 182,
"g": 49,
"b": 127
},
"hsl": {
"h": 324.812,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.53961,
"c": 0.18446,
"h": 349.1
},
"luminance": 0.13674
}Semantic roles & 50–950 ramp
primary
#B6317F
secondary
#7CC79B
accent
#E18747
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15090F
muted
#837B7F