#AF402F

Closest named color: Dull Red (#BB3F3F). oklch(52.3% 0.149 31.2), rgb(175, 64, 47).

Aa

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

About this color

#AF402F is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.149 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Red (#BB3F3F), ΔE 0.031 away. White text reads best on it, at 5.83:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameDull Red (#BB3F3F)
Black text3.59:1
White text5.83:1

Values

HEX#AF402F
RGBrgb(175, 64, 47)
HSLhsl(8, 58%, 44%)
OKLCHoklch(52.3% 0.149 31.2)

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 #AF402F 5.83:1 AA Lc -83.6 Fine for body text
Black text on #AF402F 3.59:1 AA large text Lc 25.7 Dividers and decoration only
#AF402F text on white 5.83:1 AA Lc 78.3 Fine for body text
#AF402F text on black 3.59:1 AA large text Lc -23.4 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

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F7E5E1

    oklch(93.5% 0.021 32.5)

  3. Step 200

    200

    #F2D0C9

    oklch(88.4% 0.04 31.6)

  4. Step 300

    300

    #EBB0A4

    oklch(80.9% 0.072 31.7)

  5. Step 400

    400

    #DF8474

    oklch(70.7% 0.115 30.8)

  6. Step 500

    500

    #D3624F

    oklch(63% 0.147 31.3)

  7. Step 600

    600

    #BF4533

    oklch(55.6% 0.16 31)

  8. Step 700

    700 (this color)

    #AF402F

    oklch(52.3% 0.149 31.2)

  9. Step 800

    800

    #852E20

    oklch(42.7% 0.122 31.6)

  10. Step 900

    900

    #6B2A20

    oklch(37.6% 0.095 30.9)

  11. Step 950

    950

    #3F1913

    oklch(26.9% 0.061 30.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF402F 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)#5F562D0.153
Deuteranopia (no green cones)#7A6E2C0.142
Tritanopia (no blue cones)#C0253D0.054
Achromatopsia (no color)#6565650.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF402F

    #AF402F

    oklch(52.3% 0.149 31.2)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF402F

    #AF402F

    oklch(52.3% 0.149 31.2)

  • #AB3C64

    #AB3C64

    oklch(52.4% 0.149 1.5)

  • #9B5600

    #9B5600

    oklch(52.3% 0.122 60.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF402F

    #AF402F

    oklch(52.3% 0.149 31.2)

  • #007B6D

    #007B6D

    oklch(52.3% 0.094 181.3)

  • #0071A9

    #0071A9

    oklch(52.4% 0.122 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF402F

    #AF402F

    oklch(52.3% 0.149 31.2)

  • #007F3D

    #007F3D

    oklch(52.2% 0.139 151.4)

  • #4C60BE

    #4C60BE

    oklch(52.3% 0.148 271.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF402F

    #AF402F

    oklch(52.3% 0.149 31.2)

  • #5F7400

    #5F7400

    oklch(52.3% 0.126 121.3)

  • #007788

    #007788

    oklch(52.2% 0.091 212)

  • #7A51B0

    #7A51B0

    oklch(52.4% 0.147 301.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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