Skip to content

#B171BC Color

#B171BC is rgb(177, 113, 188) in RGB, hsl(291, 36%, 59%) in HSL, and about cmyk(6%, 40%, 0%, 26%) in CMYK. It has no registered color name of its own — the closest is Lavender (Floral) (#B57EDC), visibly different at ΔE 11.87. Black text is the more readable choice on this background.

#B171BC
HEX#B171BC
RGBrgb(177, 113, 188)
HSLhsl(291, 36%, 59%)
HSVhsv(291, 40%, 74%)
CMYKcmyk(6%, 40%, 0%, 26%)
OKLCHoklch(64.3% 0.129 321.5)
LABlab(56.75% 35.19 -29.19)
LCHlch(56.75% 45.72 320.32)

What #B171BC 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 #B171BC, 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.

#B171BC Channel Values

How #B171BC 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 177 · G 113 · B 1888-bit channels as sent to the display
HSLH 291° · S 36% · L 59%Easiest model for building lighter and darker variants
HSVH 291° · S 40% · V 74%Matches the picker in most design tools
CMYKC 6% · M 40% · Y 0% · K 26%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.52:1 vs white · 5.96:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B171BC 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.

Fails AAWhite text3.52:1AA normal AA large AAA normal
TextBlack text5.96:1AA normal AA large AAA normal

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

Colors That Go With #B171BC

Pairings derived from color-wheel relationships. The complementary color sits opposite #B171BC; 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 #B171BC

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 #B171BC.

How #B171BC 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#B171BC
Protanopia#7F7FBC
Protanomaly#967ABC
Deuteranopia#8A8ABB
Deuteranomaly#9B81BB
Tritanopia#A97E7E
Tritanomaly#AC799B
Achromatopsia#888888

Test a full palette in the color blindness simulator.

Using #B171BC in Code

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

CSS custom property--color-b171bc: #B171BC;
CSS backgroundbackground-color: #B171BC;
Tailwind configcolors: { 'color-b171bc': '#B171BC' }
SwiftUIColor(red: 0.694, green: 0.443, blue: 0.737)
Android XML<color name="color_b171bc">#B171BC</color>
SVG fillfill="#B171BC"

More Pink Colors

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

#B171BC Frequently Asked Questions

What color is #B171BC?

#B171BC is a mid-tone pink — rgb(177, 113, 188) in RGB and hsl(291, 36%, 59%) in HSL. It carries no registered color name of its own; the closest named color is Lavender (Floral) (#B57EDC), which is visibly different at a CIE76 distance of 11.87.

What is the RGB value of #B171BC?

#B171BC is rgb(177, 113, 188) — red 177, green 113, and blue 188 on the 0-255 scale.

What is the CMYK value of #B171BC?

#B171BC converts to approximately cmyk(6%, 40%, 0%, 26%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #B171BC be black or white?

Black text is the more readable choice. #B171BC scores 3.52:1 against white and 5.96:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #B171BC as a CSS color keyword?

No. #B171BC 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 plum (#DDA0DD) at a CIE76 distance of 18.71, which is visibly different.

Open #B171BC in a Tool

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