#AF7EAB color

#AF7EAB rgb(175, 126, 171)
Shades of purple

The hex color #AF7EAB is a grayish magenta.

In the RGB color model it is made of 68.6% red, 49.4% green and 67.1% blue (175, 126, 171).

Its hue angle is 305°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 2% yellow and 31% black.

The closest named color is Heart Potion (#A97FB1), a difference of 2.5 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 6.4:1).

#AF7EAB color codes

HEX#AF7EAB
RGBrgb(175, 126, 171)
RGB percentrgb(68.6%, 49.4%, 67.1%)
HSLhsl(305, 23%, 59%)
HSV / HSBhsv(305, 28%, 69%)
CMYKcmyk(0%, 28%, 2%, 31%)
CIE LABlab(58.95, 26.53, -16.38)
CIE LCHlch(58.95, 31.18, 328.31)
CIE XYZxyz(32.49, 26.977, 42.016)
Decimal11501227
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AF7EAB, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #AF7EABRatioAAAAAAA large
Sample text6.4:1PassFailPass
Sample text3.28:1FailFailPass
#AF7EAB as text onRatioAAAAAAA large
Sample text3.28:1FailFailPass
Sample text6.4:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #AF7EAB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #af7eab; }
.text { color: #af7eab; }
.border { border: 2px solid #af7eab; }
.transparent { background-color: rgb(175 126 171 / 50%); }
.gradient { background: linear-gradient(to right, #af7eab, #af7e93); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #AF7EAB?
#AF7EAB is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
What is the RGB value of #AF7EAB?
The RGB value is 175, 126, 171: 175 red, 126 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #AF7EAB?
The complementary color is #7EAF82, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AF7EAB?
Black text. Black text has a contrast ratio of 6.4:1 and white text 3.28:1. WCAG asks for at least 4.5:1 for normal text.