#B6338E#B6338E
#B6338E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.191 H 342.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B6338E |
|---|---|
| RGB | rgb(182, 51, 142) |
| HSL | hsl(318, 56%, 46%) |
| HSV | hsv(318, 72%, 71%) |
| CMYK | cmyk(0%, 72%, 22%, 28.6%) |
| CIE-LAB | lab(44.62, 60.61, -21.15) |
| CIE-LCH | lch(44.62, 64.19, 340.76°) |
| OKLab | oklab(54.78% 0.1822 -0.0566) |
| OKLCH | oklch(54.78% 0.191 342.7) |
| XYZ | xyz(25.3586, 14.2683, 27.0045) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.01
Magenta (survey)
#C20078
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 5.85
Medium Purple
#9E43A2
ΔE00 7.17
Warm Purple
#952E8F
ΔE00 7.74
Purpleish
#98568D
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6338E #33B65B
analogous
#9C33B6 #B6338E #B6334C
triadic
#B6338E #8EB633 #338EB6
tetradic
#B6338E #B69C33 #33B65B #334CB6
square
#B6338E #B69C33 #33B65B #334CB6
split-complementary
#B6338E #4CB633 #33B69C
monochromatic
#561843 #862669 #B6338E #D056AB #DD86C3
Accessibility & contrast
On white
5.45
#B6338E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#B6338E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6338E
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6338E | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C2345C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b6338e; /* rgb */ color: rgb(182, 51, 142); /* oklch */ color: oklch(54.8% 0.191 342.7);
Tailwind
colors: {
custom: {
50: '#d076af',
500: '#b6338e',
950: '#000000',
},
}SCSS
$custom: #b6338e; $custom-light: #d076af; $custom-dark: #000000;
JSON
{
"hex": "#b6338e",
"rgb": {
"r": 182,
"g": 51,
"b": 142
},
"hsl": {
"h": 318.321,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.54778,
"c": 0.1908,
"h": 342.7
},
"luminance": 0.14266
}Semantic roles & 50–950 ramp
primary
#B6338E
secondary
#7EC794
accent
#E07648
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F