#AF5278

Closest named color: Light Plum (#9D5783). oklch(56.5% 0.128 356.3), rgb(175, 82, 120).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.30:1
White text4.88:1

Values

HEX#AF5278
RGBrgb(175, 82, 120)
HSLhsl(335, 37%, 50%)
OKLCHoklch(56.5% 0.128 356.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 #AF5278 4.88:1 AA Lc -78.8 Fine for body text
Black text on #AF5278 4.30:1 AA large text Lc 30.7 Non-text elements, placeholder text
#AF5278 text on white 4.88:1 AA Lc 73.4 Content text, not long reading
#AF5278 text on black 4.30:1 AA large text Lc -28.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

    #FAF3F5

    oklch(97% 0.008 357.8)

  2. Step 100

    100

    #F4E5EA

    oklch(93.5% 0.018 355.1)

  3. Step 200

    200

    #ECD1DA

    oklch(88.6% 0.032 355.6)

  4. Step 300

    300

    #E0B2C1

    oklch(80.9% 0.057 357)

  5. Step 400

    400

    #CF88A2

    oklch(70.6% 0.093 356.1)

  6. Step 500

    500

    #C1698B

    oklch(63.1% 0.118 356.5)

  7. Step 600

    600 (this color)

    #AF5278

    oklch(56.5% 0.128 356.3)

  8. Step 700

    700

    #934062

    oklch(49.1% 0.118 356.6)

  9. Step 800

    800

    #783550

    oklch(42.7% 0.099 356.8)

  10. Step 900

    900

    #612F43

    oklch(37.8% 0.077 356.1)

  11. Step 950

    950

    #391C27

    oklch(27.1% 0.048 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF5278 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)#5F66790.141
Deuteranopia (no green cones)#7877760.128
Tritanopia (no blue cones)#BB4C600.040
Achromatopsia (no color)#7171710.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5278

    #AF5278

    oklch(56.5% 0.128 356.3)

  • #008A74

    #008A74

    oklch(56.6% 0.106 176.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5278

    #AF5278

    oklch(56.5% 0.128 356.3)

  • #9C589E

    #9C589E

    oklch(56.5% 0.129 326.1)

  • #B5544C

    #B5544C

    oklch(56.5% 0.128 26.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF5278

    #AF5278

    oklch(56.5% 0.128 356.3)

  • #3B8945

    #3B8945

    oklch(56.4% 0.128 146.1)

  • #008692

    #008692

    oklch(56.6% 0.097 205.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5278

    #AF5278

    oklch(56.5% 0.128 356.3)

  • #727E04

    #727E04

    oklch(56.4% 0.128 116.3)

  • #007FB4

    #007FB4

    oklch(56.5% 0.123 236.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5278

    #AF5278

    oklch(56.5% 0.128 356.3)

  • #947000

    #947000

    oklch(56.5% 0.116 86.2)

  • #008A74

    #008A74

    oklch(56.6% 0.106 176.2)

  • #5372C1

    #5372C1

    oklch(56.6% 0.128 266.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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