Skip to content

#A5279F Color

#A5279F is rgb(165, 39, 159) in RGB, hsl(303, 62%, 40%) in HSL, and about cmyk(0%, 76%, 4%, 35%) in CMYK. It has no registered color name of its own — the closest is Dark Magenta (#8B008B), clearly related but distinguishable side by side at ΔE 8.8. White text is the more readable choice on this background.

#A5279F
HEX#A5279F
RGBrgb(165, 39, 159)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 76%, 4%, 35%)
OKLCHoklch(52% 0.206 330.2)
LABlab(41.10% 60.09 -36.73)
LCHlch(41.10% 70.42 328.56)

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

#A5279F Channel Values

How #A5279F 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 165 · G 39 · B 1598-bit channels as sent to the display
HSLH 303° · S 62% · L 40%Easiest model for building lighter and darker variants
HSVH 303° · S 76% · V 65%Matches the picker in most design tools
CMYKC 0% · M 76% · Y 4% · K 35%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.19:1 vs white · 3.39:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #A5279F 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.19:1AA normal AA large AAA normal
Fails AABlack text3.39:1AA normal AA large AAA normal

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

Colors That Go With #A5279F

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

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

How #A5279F 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#A5279F
Protanopia#50509F
Protanomaly#7B439F
Deuteranopia#68689D
Deuteranomaly#85559E
Tritanopia#9C4646
Tritanomaly#A03C74
Achromatopsia#616161

Test a full palette in the color blindness simulator.

Using #A5279F in Code

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

CSS custom property--color-a5279f: #A5279F;
CSS backgroundbackground-color: #A5279F;
Tailwind configcolors: { 'color-a5279f': '#A5279F' }
SwiftUIColor(red: 0.647, green: 0.153, blue: 0.624)
Android XML<color name="color_a5279f">#A5279F</color>
SVG fillfill="#A5279F"

More Pink Colors

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

#A5279F Frequently Asked Questions

What color is #A5279F?

#A5279F is a mid-tone pink — rgb(165, 39, 159) in RGB and hsl(303, 62%, 40%) in HSL. It carries no registered color name of its own; the closest named color is Dark Magenta (#8B008B), which is clearly related but distinguishable side by side at a CIE76 distance of 8.8.

What is the RGB value of #A5279F?

#A5279F is rgb(165, 39, 159) — red 165, green 39, and blue 159 on the 0-255 scale.

What is the CMYK value of #A5279F?

#A5279F converts to approximately cmyk(0%, 76%, 4%, 35%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #A5279F be black or white?

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

Can I write #A5279F as a CSS color keyword?

No. #A5279F 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 darkmagenta (#8B008B) at a CIE76 distance of 8.8, which is clearly related but distinguishable side by side.

Open #A5279F in a Tool

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