#AF799A

Closest named color: Dusty Lavender (#AC86A8). oklch(64.1% 0.08 342.3), rgb(175, 121, 154).

Aa

Black text reads best on this color (6.02:1).

About this color

#AF799A is a medium-light, moderately saturated pink. In OKLCH its lightness is 64%, its chroma 0.080 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.034 away. Black text reads best on it, at 6.02:1.

Hue familyPinks
Lightnessmedium-light (64%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text6.02:1
White text3.48:1

Values

HEX#AF799A
RGBrgb(175, 121, 154)
HSLhsl(323, 25%, 58%)
OKLCHoklch(64.1% 0.08 342.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AF799A 3.48:1 AA large text Lc -67.8 Content text, not long reading
Black text on #AF799A 6.02:1 AA Lc 41.8 Non-text elements, placeholder text
#AF799A text on white 3.48:1 AA large text Lc 62.3 Content text, not long reading
#AF799A text on black 6.02:1 AA Lc -39.4 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E4D4DD

    oklch(88.5% 0.021 342.6)

  4. Step 300

    300

    #D4B7C8

    oklch(80.9% 0.04 342)

  5. Step 400

    400

    #BD91AB

    oklch(70.6% 0.063 342.6)

  6. Step 500

    500 (this color)

    #AF799A

    oklch(64.1% 0.08 342.3)

  7. Step 600

    600

    #975E81

    oklch(55.6% 0.088 342.8)

  8. Step 700

    700

    #804D6D

    oklch(49% 0.082 342.3)

  9. Step 800

    800

    #684059

    oklch(42.7% 0.066 342.2)

  10. Step 900

    900

    #553649

    oklch(37.6% 0.053 342.5)

  11. Step 950

    950

    #32202B

    oklch(27% 0.033 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF799A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#7C849B0.082
Deuteranopia (no green cones)#898C980.075
Tritanopia (no blue cones)#B679840.035
Achromatopsia (no color)#8989890.081

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AF799A

    #AF799A

    oklch(64.1% 0.08 342.3)

  • #5D9C7E

    #5D9C7E

    oklch(64.1% 0.08 162.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF799A

    #AF799A

    oklch(64.1% 0.08 342.3)

  • #9D7EB0

    #9D7EB0

    oklch(64% 0.081 312.3)

  • #B8787F

    #B8787F

    oklch(64.1% 0.081 12.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AF799A

    #AF799A

    oklch(64.1% 0.08 342.3)

  • #7A9764

    #7A9764

    oklch(64.1% 0.08 132.4)

  • #499C99

    #499C99

    oklch(64.1% 0.081 192.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF799A

    #AF799A

    oklch(64.1% 0.08 342.3)

  • #968F53

    #968F53

    oklch(64.2% 0.081 102.6)

  • #5098B0

    #5098B0

    oklch(64.2% 0.08 222.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF799A

    #AF799A

    oklch(64.1% 0.08 342.3)

  • #AB8554

    #AB8554

    oklch(64.2% 0.081 72.6)

  • #5D9C7E

    #5D9C7E

    oklch(64.1% 0.08 162.4)

  • #6990BC

    #6990BC

    oklch(64.2% 0.079 252)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AF799A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AF799A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.