Skip to content

#B51274 Color

#B51274 is rgb(181, 18, 116) in RGB, hsl(324, 82%, 39%) in HSL, and about cmyk(0%, 90%, 36%, 29%) in CMYK. It has no registered color name of its own — the closest is Flirt (#A2006D), clearly related but distinguishable side by side at ΔE 6.66. White text is the more readable choice on this background.

#B51274
HEX#B51274
RGBrgb(181, 18, 116)
HSLhsl(324, 82%, 39%)
HSVhsv(324, 90%, 71%)
CMYKcmyk(0%, 90%, 36%, 29%)
OKLCHoklch(51.4% 0.204 351.6)
LABlab(40.85% 64.49 -10.48)
LCHlch(40.85% 65.34 350.77)

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

#B51274 Channel Values

How #B51274 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 181 · G 18 · B 1168-bit channels as sent to the display
HSLH 324° · S 82% · L 39%Easiest model for building lighter and darker variants
HSVH 324° · S 90% · V 71%Matches the picker in most design tools
CMYKC 0% · M 90% · Y 36% · K 29%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.36:1 vs white · 3.3:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B51274 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 text6.36:1AA normal AA large AAA normal
Fails AABlack text3.3:1AA normal AA large AAA normal

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

Colors That Go With #B51274

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

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

How #B51274 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#B51274
Protanopia#525273
Protanomaly#854174
Deuteranopia#6E6E70
Deuteranomaly#905872
Tritanopia#B12E2E
Tritanomaly#B32553
Achromatopsia#5F5F5F

Test a full palette in the color blindness simulator.

Using #B51274 in Code

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

CSS custom property--color-b51274: #B51274;
CSS backgroundbackground-color: #B51274;
Tailwind configcolors: { 'color-b51274': '#B51274' }
SwiftUIColor(red: 0.710, green: 0.071, blue: 0.455)
Android XML<color name="color_b51274">#B51274</color>
SVG fillfill="#B51274"

More Pink Colors

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

#B51274 Frequently Asked Questions

What color is #B51274?

#B51274 is a dark pink — rgb(181, 18, 116) in RGB and hsl(324, 82%, 39%) in HSL. It carries no registered color name of its own; the closest named color is Flirt (#A2006D), which is clearly related but distinguishable side by side at a CIE76 distance of 6.66.

What is the RGB value of #B51274?

#B51274 is rgb(181, 18, 116) — red 181, green 18, and blue 116 on the 0-255 scale.

What is the CMYK value of #B51274?

#B51274 converts to approximately cmyk(0%, 90%, 36%, 29%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #B51274 be black or white?

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

Can I write #B51274 as a CSS color keyword?

No. #B51274 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 mediumvioletred (#C71585) at a CIE76 distance of 7.57, which is clearly related but distinguishable side by side.

Open #B51274 in a Tool

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