#BA335B#BA335B
#BA335B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.172 H 7.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA335B |
|---|---|
| RGB | rgb(186, 51, 91) |
| HSL | hsl(342, 57%, 46%) |
| HSV | hsv(342, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 51.1%, 27.1%) |
| CIE-LAB | lab(43.60, 56.12, 8.82) |
| CIE-LCH | lch(43.60, 56.81, 8.93°) |
| OKLab | oklab(53.6% 0.171 0.0228) |
| OKLCH | oklch(53.6% 0.172 7.6) |
| XYZ | xyz(23.3239, 13.5652, 11.2857) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.66
Dark Rose
#B5485D
ΔE00 4.18
Deep Pink
#CB0162
ΔE00 4.46
Dark Pink
#CB416B
ΔE00 5.25
Deep Rose
#C74767
ΔE00 5.34
Purplish Red
#B0054B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA335B #33BA92
analogous
#BA339F #BA335B #BA4F33
triadic
#BA335B #5BBA33 #335BBA
tetradic
#BA335B #9FBA33 #33BA92 #4F33BA
square
#BA335B #9FBA33 #33BA92 #4F33BA
split-complementary
#BA335B #33BA4F #339FBA
monochromatic
#5A192C #8A2644 #BA335B #D1597D #DF89A2
Accessibility & contrast
On white
5.66
#BA335B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BA335B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA335B
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA335B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA335B | 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)
#54565C
Deuteranopia (green-blind)
#777158
Tritanopia (blue-blind)
#CB1544
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba335b; /* rgb */ color: rgb(186, 51, 91); /* oklch */ color: oklch(53.6% 0.172 7.6);
Tailwind
colors: {
custom: {
50: '#d57589',
500: '#ba335b',
950: '#000000',
},
}SCSS
$custom: #ba335b; $custom-light: #d57589; $custom-dark: #000000;
JSON
{
"hex": "#ba335b",
"rgb": {
"r": 186,
"g": 51,
"b": 91
},
"hsl": {
"h": 342.222,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53604,
"c": 0.17246,
"h": 7.6
},
"luminance": 0.13562
}Semantic roles & 50–950 ramp
primary
#BA335B
secondary
#80C9B3
accent
#E0B348
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C