Skip to content

#AF087D Color

#AF087D is rgb(175, 8, 125) in RGB, hsl(318, 91%, 36%) in HSL, and about cmyk(0%, 95%, 29%, 31%) 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.52. White text is the more readable choice on this background.

#AF087D
HEX#AF087D
RGBrgb(175, 8, 125)
HSLhsl(318, 91%, 36%)
HSVhsv(318, 95%, 69%)
CMYKcmyk(0%, 95%, 29%, 31%)
OKLCHoklch(50.4% 0.21 345.9)
LABlab(39.51% 64.98 -18.26)
LCHlch(39.51% 67.50 344.30)

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

#AF087D Channel Values

How #AF087D 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 175 · G 8 · B 1258-bit channels as sent to the display
HSLH 318° · S 91% · L 36%Easiest model for building lighter and darker variants
HSVH 318° · S 95% · V 69%Matches the picker in most design tools
CMYKC 0% · M 95% · Y 29% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.66:1 vs white · 3.15:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

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

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

Colors That Go With #AF087D

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

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

How #AF087D 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#AF087D
Protanopia#4D4D7C
Protanomaly#803D7D
Deuteranopia#6A6A7A
Deuteranomaly#8B537B
Tritanopia#AA2F2F
Tritanomaly#AC2459
Achromatopsia#5C5C5C

Test a full palette in the color blindness simulator.

Using #AF087D in Code

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

CSS custom property--color-af087d: #AF087D;
CSS backgroundbackground-color: #AF087D;
Tailwind configcolors: { 'color-af087d': '#AF087D' }
SwiftUIColor(red: 0.686, green: 0.031, blue: 0.490)
Android XML<color name="color_af087d">#AF087D</color>
SVG fillfill="#AF087D"

More Pink Colors

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

#AF087D Frequently Asked Questions

What color is #AF087D?

#AF087D is a dark pink — rgb(175, 8, 125) in RGB and hsl(318, 91%, 36%) 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.52.

What is the RGB value of #AF087D?

#AF087D is rgb(175, 8, 125) — red 175, green 8, and blue 125 on the 0-255 scale.

What is the CMYK value of #AF087D?

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

Should text on #AF087D be black or white?

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

Can I write #AF087D as a CSS color keyword?

No. #AF087D 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 8.41, which is clearly related but distinguishable side by side.

Open #AF087D in a Tool

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