#B6308E#B6308E
#B6308E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.194 H 342.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B6308E |
|---|---|
| RGB | rgb(182, 48, 142) |
| HSL | hsl(318, 58%, 45%) |
| HSV | hsv(318, 74%, 71%) |
| CMYK | cmyk(0%, 73.6%, 22%, 28.6%) |
| CIE-LAB | lab(44.25, 61.63, -21.71) |
| CIE-LCH | lch(44.25, 65.34, 340.60°) |
| OKLab | oklab(54.52% 0.1853 -0.0582) |
| OKLCH | oklch(54.52% 0.194 342.6) |
| XYZ | xyz(25.2317, 14.0146, 26.9622) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.98
Magenta (survey)
#C20078
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 5.85
Medium Purple
#9E43A2
ΔE00 7.14
Warm Purple
#952E8F
ΔE00 7.47
Purpley Pink
#C83CB9
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6308E #30B658
analogous
#9B30B6 #B6308E #B6304B
triadic
#B6308E #8EB630 #308EB6
tetradic
#B6308E #B69B30 #30B658 #304BB6
square
#B6308E #B69B30 #30B658 #304BB6
split-complementary
#B6308E #4BB630 #30B69B
monochromatic
#551642 #862368 #B6308E #D152AB #DE82C3
Accessibility & contrast
On white
5.52
#B6308E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#B6308E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6308E
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6308E | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C2315B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b6308e; /* rgb */ color: rgb(182, 48, 142); /* oklch */ color: oklch(54.5% 0.194 342.6);
Tailwind
colors: {
custom: {
50: '#d075af',
500: '#b6308e',
950: '#000000',
},
}SCSS
$custom: #b6308e; $custom-light: #d075af; $custom-dark: #000000;
JSON
{
"hex": "#b6308e",
"rgb": {
"r": 182,
"g": 48,
"b": 142
},
"hsl": {
"h": 317.91,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.54516,
"c": 0.19424,
"h": 342.6
},
"luminance": 0.14012
}Semantic roles & 50–950 ramp
primary
#B6308E
secondary
#7BC791
accent
#E17546
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F