#BA335E#BA335E
#BA335E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.173 H 6.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA335E |
|---|---|
| RGB | rgb(186, 51, 94) |
| HSL | hsl(341, 57%, 46%) |
| HSV | hsv(341, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 49.5%, 27.1%) |
| CIE-LAB | lab(43.68, 56.38, 7.06) |
| CIE-LCH | lch(43.68, 56.82, 7.14°) |
| OKLab | oklab(53.69% 0.1721 0.0185) |
| OKLCH | oklch(53.69% 0.173 6.1) |
| XYZ | xyz(23.4559, 13.6180, 11.9809) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.76
Deep Pink
#CB0162
ΔE00 4.01
Dark Rose
#B5485D
ΔE00 4.62
Dark Pink
#CB416B
ΔE00 5.09
Dark Hot Pink
#D90166
ΔE00 5.38
Deep Rose
#C74767
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA335E #33BA8F
analogous
#BA33A2 #BA335E #BA4C33
triadic
#BA335E #5EBA33 #335EBA
tetradic
#BA335E #A2BA33 #33BA8F #4C33BA
square
#BA335E #A2BA33 #33BA8F #4C33BA
split-complementary
#BA335E #33BA4C #33A2BA
monochromatic
#5A192D #8A2646 #BA335E #D1597F #DF89A4
Accessibility & contrast
On white
5.64
#BA335E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA335E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA335E
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA335E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA335E | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#CB1745
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba335e; /* rgb */ color: rgb(186, 51, 94); /* oklch */ color: oklch(53.7% 0.173 6.1);
Tailwind
colors: {
custom: {
50: '#d5758b',
500: '#ba335e',
950: '#000000',
},
}SCSS
$custom: #ba335e; $custom-light: #d5758b; $custom-dark: #000000;
JSON
{
"hex": "#ba335e",
"rgb": {
"r": 186,
"g": 51,
"b": 94
},
"hsl": {
"h": 340.889,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53686,
"c": 0.17306,
"h": 6.1
},
"luminance": 0.13615
}Semantic roles & 50–950 ramp
primary
#BA335E
secondary
#80C9B2
accent
#E0B048
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D