#BA335A#BA335A
#BA335A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.172 H 8.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA335A |
|---|---|
| RGB | rgb(186, 51, 90) |
| HSL | hsl(343, 57%, 46%) |
| HSV | hsv(343, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 51.6%, 27.1%) |
| CIE-LAB | lab(43.58, 56.04, 9.40) |
| CIE-LCH | lch(43.58, 56.82, 9.52°) |
| OKLab | oklab(53.58% 0.1706 0.0242) |
| OKLCH | oklch(53.58% 0.172 8.1) |
| XYZ | xyz(23.2810, 13.5481, 11.0600) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.68
Dark Rose
#B5485D
ΔE00 4.06
Deep Pink
#CB0162
ΔE00 4.64
Dark Pink
#CB416B
ΔE00 5.34
Deep Rose
#C74767
ΔE00 5.34
Ruby
#CA0147
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA335A #33BA93
analogous
#BA339E #BA335A #BA5033
triadic
#BA335A #5ABA33 #335ABA
tetradic
#BA335A #9EBA33 #33BA93 #5033BA
square
#BA335A #9EBA33 #33BA93 #5033BA
split-complementary
#BA335A #33BA50 #339EBA
monochromatic
#5A192C #8A2643 #BA335A #D1597C #DF89A2
Accessibility & contrast
On white
5.66
#BA335A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BA335A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA335A
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA335A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA335A | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54565B
Deuteranopia (green-blind)
#777157
Tritanopia (blue-blind)
#CB1543
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba335a; /* rgb */ color: rgb(186, 51, 90); /* oklch */ color: oklch(53.6% 0.172 8.1);
Tailwind
colors: {
custom: {
50: '#d57588',
500: '#ba335a',
950: '#000000',
},
}SCSS
$custom: #ba335a; $custom-light: #d57588; $custom-dark: #000000;
JSON
{
"hex": "#ba335a",
"rgb": {
"r": 186,
"g": 51,
"b": 90
},
"hsl": {
"h": 342.667,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53577,
"c": 0.17228,
"h": 8.1
},
"luminance": 0.13545
}Semantic roles & 50–950 ramp
primary
#BA335A
secondary
#80C9B4
accent
#E0B448
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C