#BA296B#BA296B
#BA296B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.187 H 358.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA296B |
|---|---|
| RGB | rgb(186, 41, 107) |
| HSL | hsl(333, 64%, 45%) |
| HSV | hsv(333, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 42.5%, 27.1%) |
| CIE-LAB | lab(42.90, 60.83, -2.17) |
| CIE-LCH | lch(42.90, 60.87, 357.96°) |
| OKLab | oklab(53.23% 0.187 -0.005) |
| OKLCH | oklch(53.23% 0.187 358.5) |
| XYZ | xyz(23.6983, 13.0896, 15.1857) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.04
Magenta (survey)
#C20078
ΔE00 4.18
Mediumvioletred
#C71585
ΔE00 5.90
Dark Hot Pink
#D90166
ΔE00 6.21
Violet Red
#A50055
ΔE00 6.67
Light Burgundy
#A8415B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA296B #29BA78
analogous
#BA29B4 #BA296B #BA3029
triadic
#BA296B #6BBA29 #296BBA
tetradic
#BA296B #B4BA29 #29BA78 #3029BA
square
#BA296B #B4BA29 #29BA78 #3029BA
split-complementary
#BA296B #29BA30 #29B4BA
monochromatic
#561331 #881E4E #BA296B #D7498A #E27BAA
Accessibility & contrast
On white
5.81
#BA296B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA296B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA296B
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA296B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA296B | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A546D
Deuteranopia (green-blind)
#716F68
Tritanopia (blue-blind)
#CA0C47
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba296b; /* rgb */ color: rgb(186, 41, 107); /* oklch */ color: oklch(53.2% 0.187 358.5);
Tailwind
colors: {
custom: {
50: '#d47295',
500: '#ba296b',
950: '#000000',
},
}SCSS
$custom: #ba296b; $custom-light: #d47295; $custom-dark: #000000;
JSON
{
"hex": "#ba296b",
"rgb": {
"r": 186,
"g": 41,
"b": 107
},
"hsl": {
"h": 332.69,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.53233,
"c": 0.18708,
"h": 358.5
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#BA296B
secondary
#75CAA3
accent
#E79B41
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E