#AF507B

Closest named color: Light Plum (#9D5783). oklch(56.3% 0.133 353.8), rgb(175, 80, 123).

Aa

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

About this color

#AF507B is a medium-dark, moderately saturated red. In OKLCH its lightness is 56%, its chroma 0.133 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.035 away. White text reads best on it, at 4.93:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.25:1
White text4.93:1

Values

HEX#AF507B
RGBrgb(175, 80, 123)
HSLhsl(333, 37%, 50%)
OKLCHoklch(56.3% 0.133 353.8)

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 #AF507B 4.93:1 AA Lc -79.1 Fine for body text
Black text on #AF507B 4.25:1 AA large text Lc 30.4 Non-text elements, placeholder text
#AF507B text on white 4.93:1 AA Lc 73.7 Content text, not long reading
#AF507B text on black 4.25:1 AA large text Lc -28.0 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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F4E5EB

    oklch(93.6% 0.018 351.2)

  3. Step 200

    200

    #ECD1DB

    oklch(88.6% 0.033 353.4)

  4. Step 300

    300

    #E1B1C3

    oklch(80.9% 0.06 354.1)

  5. Step 400

    400

    #D087A5

    oklch(70.7% 0.097 353.6)

  6. Step 500

    500

    #C1688F

    oklch(63.1% 0.122 353.5)

  7. Step 600

    600 (this color)

    #AF507B

    oklch(56.3% 0.133 353.8)

  8. Step 700

    700

    #943E66

    oklch(49.1% 0.124 353.6)

  9. Step 800

    800

    #783453

    oklch(42.7% 0.102 353.7)

  10. Step 900

    900

    #612E45

    oklch(37.7% 0.079 353.2)

  11. Step 950

    950

    #391B28

    oklch(26.9% 0.051 353.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF507B 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)#5D667C0.145
Deuteranopia (no green cones)#7677790.133
Tritanopia (no blue cones)#BB4B600.045
Achromatopsia (no color)#7070700.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF507B

    #AF507B

    oklch(56.3% 0.133 353.8)

  • #008970

    #008970

    oklch(56.2% 0.107 173.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF507B

    #AF507B

    oklch(56.3% 0.133 353.8)

  • #9B57A1

    #9B57A1

    oklch(56.3% 0.133 324.2)

  • #B6514E

    #B6514E

    oklch(56.3% 0.132 23.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF507B

    #AF507B

    oklch(56.3% 0.133 353.8)

  • #3D893E

    #3D893E

    oklch(56.4% 0.133 143.8)

  • #00858F

    #00858F

    oklch(56.2% 0.096 204.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF507B

    #AF507B

    oklch(56.3% 0.133 353.8)

  • #757D00

    #757D00

    oklch(56.4% 0.127 114.2)

  • #007FAF

    #007FAF

    oklch(56.2% 0.118 233.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF507B

    #AF507B

    oklch(56.3% 0.133 353.8)

  • #956E00

    #956E00

    oklch(56.2% 0.115 83.9)

  • #008970

    #008970

    oklch(56.2% 0.107 173.8)

  • #4C72C3

    #4C72C3

    oklch(56.3% 0.133 263.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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