Color #ba98bc
A muted light magenta.
Conversions
#ba98bc
rgb(186, 152, 188)
hsl(296.7, 21.2%, 66.7%)
hsv(296.7, 19.1%, 73.7%)
cmyk(1.1%, 19.1%, 0%, 26.3%)
lab(66.92, 19, -13.84)
lch(66.92, 23.51, 323.93)
oklch(72.2%, 0.0639, 324.42)
hwb(296.7, 59.6%, 26.3%)
Harmony colors
Accessibility
Black text reads better on this background (8.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#acacb4 · ΔE 15.7
Deuteranopia
#aeb1b2 · ΔE 18.6
Tritanopia
#b8aeac · ΔE 16.8
Achromatopsia
#a3a3a3 · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba98bc;
bg-[#ba98bc]
Related colors
Frequently asked questions
#ba98bc (#ba98bc) is rgb(186, 152, 188) in RGB.
No, #ba98bc 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 #ba98bc, or check how it holds up for accessibility.