#AF5040

Closest named color: Dusty Red (#B9484E). oklch(54.8% 0.128 31.3), rgb(175, 80, 64).

Aa

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

About this color

#AF5040 is a medium-dark, moderately saturated red. In OKLCH its lightness is 55%, its chroma 0.128 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Red (#B9484E), ΔE 0.033 away. White text reads best on it, at 5.19:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameDusty Red (#B9484E)
Black text4.04:1
White text5.19:1

Values

HEX#AF5040
RGBrgb(175, 80, 64)
HSLhsl(9, 46%, 47%)
OKLCHoklch(54.8% 0.128 31.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 #AF5040 5.19:1 AA Lc -80.6 Fine for body text
Black text on #AF5040 4.04:1 AA large text Lc 28.9 Dividers and decoration only
#AF5040 text on white 5.19:1 AA Lc 75.2 Fine for body text
#AF5040 text on black 4.04:1 AA large text Lc -26.5 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

    #FBF4F2

    oklch(97.2% 0.008 36.6)

  2. Step 100

    100

    #F5E6E3

    oklch(93.6% 0.017 31.1)

  3. Step 200

    200

    #EED2CC

    oklch(88.5% 0.033 32.1)

  4. Step 300

    300

    #E3B4AA

    oklch(80.9% 0.057 32.1)

  5. Step 400

    400

    #D48B7D

    oklch(70.7% 0.092 31.4)

  6. Step 500

    500

    #C66C5C

    oklch(63% 0.118 31.2)

  7. Step 600

    600 (this color)

    #AF5040

    oklch(54.8% 0.128 31.3)

  8. Step 700

    700

    #984234

    oklch(49% 0.119 31.1)

  9. Step 800

    800

    #7C372C

    oklch(42.7% 0.099 30.8)

  10. Step 900

    900

    #643027

    oklch(37.6% 0.077 31.2)

  11. Step 950

    950

    #3B1D17

    oklch(27.1% 0.049 32.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5040 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)#68603E0.131
Deuteranopia (no green cones)#80753E0.121
Tritanopia (no blue cones)#BF3E4C0.049
Achromatopsia (no color)#6D6D6D0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5040

    #AF5040

    oklch(54.8% 0.128 31.3)

  • #007F91

    #007F91

    oklch(54.7% 0.095 211.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5040

    #AF5040

    oklch(54.8% 0.128 31.3)

  • #AB4D6C

    #AB4D6C

    oklch(54.8% 0.127 1.4)

  • #A55C00

    #A55C00

    oklch(54.8% 0.128 60.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF5040

    #AF5040

    oklch(54.8% 0.128 31.3)

  • #008375

    #008375

    oklch(54.7% 0.098 182)

  • #0278B4

    #0278B4

    oklch(54.8% 0.128 241.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5040

    #AF5040

    oklch(54.8% 0.128 31.3)

  • #278549

    #278549

    oklch(54.7% 0.127 151.4)

  • #566ABB

    #566ABB

    oklch(54.7% 0.128 271.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5040

    #AF5040

    oklch(54.8% 0.128 31.3)

  • #667C0C

    #667C0C

    oklch(54.9% 0.128 121.4)

  • #007F91

    #007F91

    oklch(54.7% 0.095 211.9)

  • #7F5DAF

    #7F5DAF

    oklch(54.9% 0.128 301.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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