#AF301D

Closest named color: Rusty Red (#AF2F0D). oklch(50.3% 0.167 31.5), rgb(175, 48, 29).

Aa

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

About this color

#AF301D is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.167 and its hue 32°. Its hue sits on the warm side of the wheel. The nearest named color is Rusty Red (#AF2F0D), ΔE 0.009 away. White text reads best on it, at 6.43:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameRusty Red (#AF2F0D)
Black text3.26:1
White text6.43:1

Values

HEX#AF301D
RGBrgb(175, 48, 29)
HSLhsl(8, 72%, 40%)
OKLCHoklch(50.3% 0.167 31.5)

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 #AF301D 6.43:1 AA Lc -85.9 Fine for body text
Black text on #AF301D 3.26:1 AA large text Lc 23.4 Dividers and decoration only
#AF301D text on white 6.43:1 AA Lc 80.7 Fine for body text
#AF301D text on black 3.26:1 AA large text Lc -21.2 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 700.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #F9E5E0

    oklch(93.7% 0.023 34.3)

  3. Step 200

    200

    #F5CFC7

    oklch(88.5% 0.044 31.9)

  4. Step 300

    300

    #F0AEA1

    oklch(80.9% 0.08 31.4)

  5. Step 400

    400

    #E5806D

    oklch(70.6% 0.129 31.7)

  6. Step 500

    500

    #DB5B46

    oklch(63.1% 0.165 31.4)

  7. Step 600

    600

    #C63B26

    oklch(55.5% 0.179 31.5)

  8. Step 700

    700 (this color)

    #AF301D

    oklch(50.3% 0.167 31.5)

  9. Step 800

    800

    #8B2617

    oklch(42.7% 0.139 31.4)

  10. Step 900

    900

    #70261A

    oklch(37.8% 0.108 31.6)

  11. Step 950

    950

    #421710

    oklch(27% 0.069 31.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF301D 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)#564D190.177
Deuteranopia (no green cones)#7669160.160
Tritanopia (no blue cones)#C1002D0.053
Achromatopsia (no color)#5E5E5E0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF301D

    #AF301D

    oklch(50.3% 0.167 31.5)

  • #007181

    #007181

    oklch(50.3% 0.088 211.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF301D

    #AF301D

    oklch(50.3% 0.167 31.5)

  • #AA2C5D

    #AA2C5D

    oklch(50.3% 0.166 1.8)

  • #925200

    #925200

    oklch(50.3% 0.116 61.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF301D

    #AF301D

    oklch(50.3% 0.167 31.5)

  • #007567

    #007567

    oklch(50.4% 0.091 180.7)

  • #006AA1

    #006AA1

    oklch(50.2% 0.119 241.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF301D

    #AF301D

    oklch(50.3% 0.167 31.5)

  • #00793A

    #00793A

    oklch(50.4% 0.134 151.4)

  • #4457C1

    #4457C1

    oklch(50.2% 0.166 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF301D

    #AF301D

    oklch(50.3% 0.167 31.5)

  • #5A6E00

    #5A6E00

    oklch(50.4% 0.121 121.3)

  • #007181

    #007181

    oklch(50.3% 0.088 211.7)

  • #7645B2

    #7645B2

    oklch(50.2% 0.167 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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