#BA367E#BA367E
#BA367E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.181 H 351.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BA367E |
|---|---|
| RGB | rgb(186, 54, 126) |
| HSL | hsl(327, 55%, 47%) |
| HSV | hsv(327, 71%, 73%) |
| CMYK | cmyk(0%, 71%, 32.3%, 27.1%) |
| CIE-LAB | lab(45.06, 58.59, -10.67) |
| CIE-LCH | lch(45.06, 59.55, 349.68°) |
| OKLab | oklab(55.03% 0.179 -0.0276) |
| OKLCH | oklch(55.03% 0.181 351.2) |
| XYZ | xyz(25.3361, 14.5867, 21.2159) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.40
Magenta (survey)
#C20078
ΔE00 3.97
Deep Pink
#CB0162
ΔE00 7.65
Light Plum
#9D5783
ΔE00 8.05
Dark Hot Pink
#D90166
ΔE00 8.73
Dark Pink
#CB416B
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA367E #36BA72
analogous
#B436BA #BA367E #BA363C
triadic
#BA367E #7EBA36 #367EBA
tetradic
#BA367E #BAB436 #36BA72 #363CBA
square
#BA367E #BAB436 #36BA72 #363CBA
split-complementary
#BA367E #3CBA36 #36BAB4
monochromatic
#5B1A3E #8B285E #BA367E #D05D9C #DE8DB9
Accessibility & contrast
On white
5.36
#BA367E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#BA367E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA367E
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA367E | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5C80
Deuteranopia (green-blind)
#71737B
Tritanopia (blue-blind)
#C82D55
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba367e; /* rgb */ color: rgb(186, 54, 126); /* oklch */ color: oklch(55.0% 0.181 351.2);
Tailwind
colors: {
custom: {
50: '#d378a3',
500: '#ba367e',
950: '#000000',
},
}SCSS
$custom: #ba367e; $custom-light: #d378a3; $custom-dark: #000000;
JSON
{
"hex": "#ba367e",
"rgb": {
"r": 186,
"g": 54,
"b": 126
},
"hsl": {
"h": 327.273,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.5503,
"c": 0.18112,
"h": 351.2
},
"luminance": 0.14584
}Semantic roles & 50–950 ramp
primary
#BA367E
secondary
#84C8A3
accent
#DE8D49
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F