#BA336E#BA336E
#BA336E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.178 H 358.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BA336E |
|---|---|
| RGB | rgb(186, 51, 110) |
| HSL | hsl(334, 57%, 46%) |
| HSV | hsv(334, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 40.9%, 27.1%) |
| CIE-LAB | lab(44.14, 57.90, -2.20) |
| CIE-LCH | lch(44.14, 57.94, 357.82°) |
| OKLab | oklab(54.18% 0.1777 -0.0051) |
| OKLCH | oklch(54.18% 0.178 358.4) |
| XYZ | xyz(24.2497, 13.9356, 16.1617) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.57
Magenta (survey)
#C20078
ΔE00 4.89
Mediumvioletred
#C71585
ΔE00 6.02
Dark Hot Pink
#D90166
ΔE00 6.16
Dark Pink
#CB416B
ΔE00 6.36
Light Burgundy
#A8415B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA336E #33BA7F
analogous
#BA33B2 #BA336E #BA3C33
triadic
#BA336E #6EBA33 #336EBA
tetradic
#BA336E #B2BA33 #33BA7F #3C33BA
square
#BA336E #B2BA33 #33BA7F #3C33BA
split-complementary
#BA336E #33BA3C #33B2BA
monochromatic
#5A1935 #8A2652 #BA336E #D1598E #DF89AE
Accessibility & contrast
On white
5.55
#BA336E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#BA336E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA336E
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA336E | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#74726B
Tritanopia (blue-blind)
#C9214C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba336e; /* rgb */ color: rgb(186, 51, 110); /* oklch */ color: oklch(54.2% 0.178 358.4);
Tailwind
colors: {
custom: {
50: '#d47697',
500: '#ba336e',
950: '#000000',
},
}SCSS
$custom: #ba336e; $custom-light: #d47697; $custom-dark: #000000;
JSON
{
"hex": "#ba336e",
"rgb": {
"r": 186,
"g": 51,
"b": 110
},
"hsl": {
"h": 333.778,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.54176,
"c": 0.17772,
"h": 358.4
},
"luminance": 0.13933
}Semantic roles & 50–950 ramp
primary
#BA336E
secondary
#80C9A9
accent
#E09E48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E