Color #ba97b4
A muted light magenta.
Conversions
#ba97b4
rgb(186, 151, 180)
hsl(310.3, 20.2%, 66.1%)
hsv(310.3, 18.8%, 72.9%)
cmyk(0%, 18.8%, 3.2%, 27.1%)
lab(66.42, 18.04, -10.12)
lch(66.42, 20.68, 330.71)
oklch(71.8%, 0.0575, 332.01)
hwb(310.3, 59.2%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (8.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#acacae · ΔE 17
Deuteranopia
#aeb0ac · ΔE 21.8
Tritanopia
#b8a8a7 · ΔE 13.4
Achromatopsia
#a1a1a1 · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba97b4;
bg-[#ba97b4]
Related colors
Frequently asked questions
#ba97b4 (#ba97b4) is rgb(186, 151, 180) in RGB.
No, #ba97b4 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 #ba97b4, or check how it holds up for accessibility.