#B6318E#B6318E
#B6318E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.193 H 342.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B6318E |
|---|---|
| RGB | rgb(182, 49, 142) |
| HSL | hsl(318, 58%, 45%) |
| HSV | hsv(318, 73%, 71%) |
| CMYK | cmyk(0%, 73.1%, 22%, 28.6%) |
| CIE-LAB | lab(44.37, 61.30, -21.52) |
| CIE-LCH | lch(44.37, 64.97, 340.65°) |
| OKLab | oklab(54.6% 0.1843 -0.0577) |
| OKLCH | oklch(54.6% 0.193 342.6) |
| XYZ | xyz(25.2731, 14.0973, 26.9760) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.99
Magenta (survey)
#C20078
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 5.84
Medium Purple
#9E43A2
ΔE00 7.14
Warm Purple
#952E8F
ΔE00 7.56
Purpley Pink
#C83CB9
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6318E #31B659
analogous
#9B31B6 #B6318E #B6314B
triadic
#B6318E #8EB631 #318EB6
tetradic
#B6318E #B69B31 #31B659 #314BB6
square
#B6318E #B69B31 #31B659 #314BB6
split-complementary
#B6318E #4BB631 #31B69B
monochromatic
#561743 #862468 #B6318E #D153AB #DE84C3
Accessibility & contrast
On white
5.50
#B6318E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#B6318E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6318E
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6318E | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C2325B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b6318e; /* rgb */ color: rgb(182, 49, 142); /* oklch */ color: oklch(54.6% 0.193 342.6);
Tailwind
colors: {
custom: {
50: '#d075af',
500: '#b6318e',
950: '#000000',
},
}SCSS
$custom: #b6318e; $custom-light: #d075af; $custom-dark: #000000;
JSON
{
"hex": "#b6318e",
"rgb": {
"r": 182,
"g": 49,
"b": 142
},
"hsl": {
"h": 318.045,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.54602,
"c": 0.19312,
"h": 342.6
},
"luminance": 0.14095
}Semantic roles & 50–950 ramp
primary
#B6318E
secondary
#7CC792
accent
#E17547
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F