#B6338F#B6338F
#B6338F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.191 H 342.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B6338F |
|---|---|
| RGB | rgb(182, 51, 143) |
| HSL | hsl(318, 56%, 46%) |
| HSV | hsv(318, 72%, 71%) |
| CMYK | cmyk(0%, 72%, 21.4%, 28.6%) |
| CIE-LAB | lab(44.66, 60.75, -21.69) |
| CIE-LCH | lch(44.66, 64.50, 340.35°) |
| OKLab | oklab(54.82% 0.1824 -0.0582) |
| OKLCH | oklch(54.82% 0.191 342.3) |
| XYZ | xyz(25.4340, 14.2985, 27.4017) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.15
Ugly Purple
#A442A0
ΔE00 5.67
Magenta (survey)
#C20078
ΔE00 5.93
Medium Purple
#9E43A2
ΔE00 7.00
Warm Purple
#952E8F
ΔE00 7.64
Purpley Pink
#C83CB9
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6338F #33B65A
analogous
#9B33B6 #B6338F #B6334D
triadic
#B6338F #8FB633 #338FB6
tetradic
#B6338F #B69B33 #33B65A #334DB6
square
#B6338F #B69B33 #33B65A #334DB6
split-complementary
#B6338F #4DB633 #33B69B
monochromatic
#561844 #862669 #B6338F #D056AC #DD86C3
Accessibility & contrast
On white
5.44
#B6338F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#B6338F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6338F
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6338F | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#68718C
Tritanopia (blue-blind)
#C1345D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #b6338f; /* rgb */ color: rgb(182, 51, 143); /* oklch */ color: oklch(54.8% 0.191 342.3);
Tailwind
colors: {
custom: {
50: '#d076b0',
500: '#b6338f',
950: '#000000',
},
}SCSS
$custom: #b6338f; $custom-light: #d076b0; $custom-dark: #000000;
JSON
{
"hex": "#b6338f",
"rgb": {
"r": 182,
"g": 51,
"b": 143
},
"hsl": {
"h": 317.863,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.54823,
"c": 0.19143,
"h": 342.3
},
"luminance": 0.14296
}Semantic roles & 50–950 ramp
primary
#B6338F
secondary
#7EC794
accent
#E07548
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F