#BA336A#BA336A
#BA336A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.176 H 0.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BA336A |
|---|---|
| RGB | rgb(186, 51, 106) |
| HSL | hsl(336, 57%, 46%) |
| HSV | hsv(336, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 43%, 27.1%) |
| CIE-LAB | lab(44.02, 57.49, 0.09) |
| CIE-LCH | lch(44.02, 57.49, 0.09°) |
| OKLab | oklab(54.05% 0.1763 0.0009) |
| OKLCH | oklch(54.05% 0.176 0.3) |
| XYZ | xyz(24.0368, 13.8504, 15.0405) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.01
Light Burgundy
#A8415B
ΔE00 5.58
Dark Hot Pink
#D90166
ΔE00 5.67
Magenta (survey)
#C20078
ΔE00 5.69
Dark Pink
#CB416B
ΔE00 5.78
Deep Rose
#C74767
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA336A #33BA83
analogous
#BA33AE #BA336A #BA4033
triadic
#BA336A #6ABA33 #336ABA
tetradic
#BA336A #AEBA33 #33BA83 #4033BA
square
#BA336A #AEBA33 #33BA83 #4033BA
split-complementary
#BA336A #33BA40 #33AEBA
monochromatic
#5A1933 #8A264F #BA336A #D1598A #DF89AC
Accessibility & contrast
On white
5.57
#BA336A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#BA336A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA336A
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA336A | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#747167
Tritanopia (blue-blind)
#CA1F4A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba336a; /* rgb */ color: rgb(186, 51, 106); /* oklch */ color: oklch(54.0% 0.176 0.3);
Tailwind
colors: {
custom: {
50: '#d47694',
500: '#ba336a',
950: '#000000',
},
}SCSS
$custom: #ba336a; $custom-light: #d47694; $custom-dark: #000000;
JSON
{
"hex": "#ba336a",
"rgb": {
"r": 186,
"g": 51,
"b": 106
},
"hsl": {
"h": 335.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.54046,
"c": 0.17633,
"h": 0.3
},
"luminance": 0.13847
}Semantic roles & 50–950 ramp
primary
#BA336A
secondary
#80C9AB
accent
#E0A248
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E