#AF5291

Closest named color: Light Plum (#9D5783). oklch(57.5% 0.143 341.4), rgb(175, 82, 145).

Aa

White text reads best on this color (4.73:1).

About this color

#AF5291 is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.143 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.041 away. White text reads best on it, at 4.73:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.43:1
White text4.73:1

Values

HEX#AF5291
RGBrgb(175, 82, 145)
HSLhsl(319, 37%, 50%)
OKLCHoklch(57.5% 0.143 341.4)

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 #AF5291 4.73:1 AA Lc -77.8 Fine for body text
Black text on #AF5291 4.43:1 AA large text Lc 31.7 Non-text elements, placeholder text
#AF5291 text on white 4.73:1 AA Lc 72.4 Content text, not long reading
#AF5291 text on black 4.43:1 AA large text Lc -29.3 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5ED

    oklch(93.5% 0.018 342)

  3. Step 200

    200

    #EBD0E0

    oklch(88.5% 0.037 341.5)

  4. Step 300

    300

    #DEB1CD

    oklch(80.9% 0.064 340.9)

  5. Step 400

    400

    #CD87B3

    oklch(70.8% 0.102 341.8)

  6. Step 500

    500

    #BE67A0

    oklch(63.1% 0.131 341.7)

  7. Step 600

    600 (this color)

    #AF5291

    oklch(57.5% 0.143 341.4)

  8. Step 700

    700

    #913D76

    oklch(49.2% 0.133 341.7)

  9. Step 800

    800

    #763360

    oklch(42.8% 0.11 341.8)

  10. Step 900

    900

    #5F2D4F

    oklch(37.6% 0.086 340.9)

  11. Step 950

    950

    #381B2E

    oklch(27% 0.054 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF5291 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)#576A930.151
Deuteranopia (no green cones)#71798F0.136
Tritanopia (no blue cones)#B8536B0.063
Achromatopsia (no color)#7373730.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5291

    #AF5291

    oklch(57.5% 0.143 341.4)

  • #008F60

    #008F60

    oklch(57.4% 0.127 161.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5291

    #AF5291

    oklch(57.5% 0.143 341.4)

  • #945DB6

    #945DB6

    oklch(57.5% 0.143 311.2)

  • #BD4F63

    #BD4F63

    oklch(57.5% 0.142 11.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF5291

    #AF5291

    oklch(57.5% 0.143 341.4)

  • #59891F

    #59891F

    oklch(57.5% 0.143 131.3)

  • #008B87

    #008B87

    oklch(57.5% 0.099 191.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5291

    #AF5291

    oklch(57.5% 0.143 341.4)

  • #887A00

    #887A00

    oklch(57.4% 0.12 101.4)

  • #0086A5

    #0086A5

    oklch(57.5% 0.106 221.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5291

    #AF5291

    oklch(57.5% 0.143 341.4)

  • #A56A00

    #A56A00

    oklch(57.4% 0.123 71.4)

  • #008F60

    #008F60

    oklch(57.4% 0.127 161.4)

  • #2B7BC9

    #2B7BC9

    oklch(57.4% 0.142 251.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #AF5291 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.