Color #ba2d67
A moderately saturated medium pink.
Conversions
#ba2d67
rgb(186, 45, 103)
hsl(335.3, 61%, 45.3%)
hsv(335.3, 75.8%, 72.9%)
cmyk(0%, 75.8%, 44.6%, 27.1%)
lab(43.21, 59.22, 0.78)
lch(43.21, 59.23, 0.75)
oklch(53.4%, 0.1818, 0.85)
hwb(335.3, 17.6%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (5.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#93925d · ΔE 50.4
Deuteranopia
#99a05a · ΔE 57.3
Tritanopia
#b65452 · ΔE 14.4
Achromatopsia
#666666 · ΔE 26
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba2d67;
bg-[#ba2d67]
Related colors
Frequently asked questions
#ba2d67 (#ba2d67) is rgb(186, 45, 103) in RGB.
No, #ba2d67 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #ba2d67, or check how it holds up for accessibility.