Skip to content

#D507A5 Color

#D507A5 is rgb(213, 7, 165) in RGB, hsl(314, 94%, 43%) in HSL, and about cmyk(0%, 97%, 23%, 16%) in CMYK. It has no registered color name of its own — the closest is Frostbite (#E936A7), visibly different at ΔE 11.86. White text is the more readable choice on this background.

#D507A5
HEX#D507A5
RGBrgb(213, 7, 165)
HSLhsl(314, 94%, 43%)
HSVhsv(314, 97%, 84%)
CMYKcmyk(0%, 97%, 23%, 16%)
OKLCHoklch(58.8% 0.251 342)
LABlab(48.56% 76.62 -27.89)
LCHlch(48.56% 81.54 340.00)

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

#D507A5 Channel Values

How #D507A5 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 213 · G 7 · B 1658-bit channels as sent to the display
HSLH 314° · S 94% · L 43%Easiest model for building lighter and darker variants
HSVH 314° · S 97% · V 84%Matches the picker in most design tools
CMYKC 0% · M 97% · Y 23% · K 16%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.77:1 vs white · 4.4:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #D507A5 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.77:1AA normal AA large AAA normal
Fails AABlack text4.4:1AA normal AA large AAA normal

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

Colors That Go With #D507A5

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

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

How #D507A5 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#D507A5
Protanopia#5F5FA4
Protanomaly#9D4BA5
Deuteranopia#8282A1
Deuteranomaly#A966A3
Tritanopia#CE3F3F
Tritanomaly#D13176
Achromatopsia#737373

Test a full palette in the color blindness simulator.

Using #D507A5 in Code

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

CSS custom property--color-d507a5: #D507A5;
CSS backgroundbackground-color: #D507A5;
Tailwind configcolors: { 'color-d507a5': '#D507A5' }
SwiftUIColor(red: 0.835, green: 0.027, blue: 0.647)
Android XML<color name="color_d507a5">#D507A5</color>
SVG fillfill="#D507A5"

More Pink Colors

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

#D507A5 Frequently Asked Questions

What color is #D507A5?

#D507A5 is a mid-tone pink — rgb(213, 7, 165) in RGB and hsl(314, 94%, 43%) in HSL. It carries no registered color name of its own; the closest named color is Frostbite (#E936A7), which is visibly different at a CIE76 distance of 11.86.

What is the RGB value of #D507A5?

#D507A5 is rgb(213, 7, 165) — red 213, green 7, and blue 165 on the 0-255 scale.

What is the CMYK value of #D507A5?

#D507A5 converts to approximately cmyk(0%, 97%, 23%, 16%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #D507A5 be black or white?

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

Can I write #D507A5 as a CSS color keyword?

No. #D507A5 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 15.88, which is visibly different.

Open #D507A5 in a Tool

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