Skip to content

#BA45AB Color

#BA45AB is rgb(186, 69, 171) in RGB, hsl(308, 46%, 50%) in HSL, and about cmyk(0%, 63%, 8%, 27%) in CMYK. It has no registered color name of its own — the closest is Byzantine (#BD33A4), clearly related but distinguishable side by side at ΔE 6.9. White text is the more readable choice on this background.

#BA45AB
HEX#BA45AB
RGBrgb(186, 69, 171)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 63%, 8%, 27%)
OKLCHoklch(58.6% 0.19 333.1)
LABlab(49.08% 56.50 -31.08)
LCHlch(49.08% 64.48 331.19)

What #BA45AB Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #BA45AB, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#BA45AB Channel Values

How #BA45AB breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 186 · G 69 · B 1718-bit channels as sent to the display
HSLH 308° · S 46% · L 50%Easiest model for building lighter and darker variants
HSVH 308° · S 63% · V 73%Matches the picker in most design tools
CMYKC 0% · M 63% · Y 8% · K 27%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.64:1 vs white · 4.53:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #BA45AB background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text4.64:1AA normal AA large AAA normal
TextBlack text4.53:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #BA45AB in the contrast checker.

Colors That Go With #BA45AB

Pairings derived from color-wheel relationships. The complementary color sits opposite #BA45AB; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #BA45AB

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #BA45AB.

How #BA45AB Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#BA45AB
Protanopia#6666AB
Protanomaly#8F5BAB
Deuteranopia#7C7CA9
Deuteranomaly#996AAA
Tritanopia#B25A5A
Tritanomaly#B55382
Achromatopsia#757575

Test a full palette in the color blindness simulator.

Using #BA45AB in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-ba45ab: #BA45AB;
CSS backgroundbackground-color: #BA45AB;
Tailwind configcolors: { 'color-ba45ab': '#BA45AB' }
SwiftUIColor(red: 0.729, green: 0.271, blue: 0.671)
Android XML<color name="color_ba45ab">#BA45AB</color>
SVG fillfill="#BA45AB"

More Pink Colors

#BA45AB sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#BA45AB Frequently Asked Questions

What color is #BA45AB?

#BA45AB is a mid-tone pink — rgb(186, 69, 171) in RGB and hsl(308, 46%, 50%) in HSL. It carries no registered color name of its own; the closest named color is Byzantine (#BD33A4), which is clearly related but distinguishable side by side at a CIE76 distance of 6.9.

What is the RGB value of #BA45AB?

#BA45AB is rgb(186, 69, 171) — red 186, green 69, and blue 171 on the 0-255 scale.

What is the CMYK value of #BA45AB?

#BA45AB converts to approximately cmyk(0%, 63%, 8%, 27%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #BA45AB be black or white?

White text is the more readable choice. #BA45AB scores 4.64:1 against white and 4.53:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #BA45AB as a CSS color keyword?

No. #BA45AB is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is orchid (#DA70D6) at a CIE76 distance of 14.58, which is visibly different.

Open #BA45AB in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.