#AF402B

Closest named color: Rusty Red (#AF2F0D). oklch(52.3% 0.149 32.8), rgb(175, 64, 43).

Aa

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

About this color

#AF402B is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.149 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Rusty Red (#AF2F0D), ΔE 0.030 away. White text reads best on it, at 5.84:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameRusty Red (#AF2F0D)
Black text3.59:1
White text5.84:1

Values

HEX#AF402B
RGBrgb(175, 64, 43)
HSLhsl(10, 61%, 43%)
OKLCHoklch(52.3% 0.149 32.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 #AF402B 5.84:1 AA Lc -83.7 Fine for body text
Black text on #AF402B 3.59:1 AA large text Lc 25.7 Dividers and decoration only
#AF402B text on white 5.84:1 AA Lc 78.4 Fine for body text
#AF402B 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

    #F8E5E1

    oklch(93.6% 0.022 31.8)

  3. Step 200

    200

    #F2D0C8

    oklch(88.4% 0.04 33.4)

  4. Step 300

    300

    #EBB0A3

    oklch(80.8% 0.072 32.7)

  5. Step 400

    400

    #DF8471

    oklch(70.6% 0.116 32.7)

  6. Step 500

    500

    #D3624C

    oklch(63% 0.148 32.6)

  7. Step 600

    600

    #BF452F

    oklch(55.6% 0.161 32.4)

  8. Step 700

    700 (this color)

    #AF402B

    oklch(52.3% 0.149 32.8)

  9. Step 800

    800

    #852E1D

    oklch(42.7% 0.123 33)

  10. Step 900

    900

    #6B2A1E

    oklch(37.6% 0.096 32.3)

  11. Step 950

    950

    #3F1A12

    oklch(27.1% 0.06 33.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF402B 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)#5F55280.154
Deuteranopia (no green cones)#7A6E270.142
Tritanopia (no blue cones)#C0243C0.056
Achromatopsia (no color)#6565650.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF402B

    #AF402B

    oklch(52.3% 0.149 32.8)

  • #007789

    #007789

    oklch(52.3% 0.091 212.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF402B

    #AF402B

    oklch(52.3% 0.149 32.8)

  • #AB3C62

    #AB3C62

    oklch(52.3% 0.149 2.6)

  • #995700

    #995700

    oklch(52.2% 0.12 62.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF402B

    #AF402B

    oklch(52.3% 0.149 32.8)

  • #007B6E

    #007B6E

    oklch(52.3% 0.094 182.2)

  • #0070AC

    #0070AC

    oklch(52.3% 0.126 242.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF402B

    #AF402B

    oklch(52.3% 0.149 32.8)

  • #007F41

    #007F41

    oklch(52.3% 0.136 152.7)

  • #4F5FBE

    #4F5FBE

    oklch(52.2% 0.149 273)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF402B

    #AF402B

    oklch(52.3% 0.149 32.8)

  • #5D7500

    #5D7500

    oklch(52.4% 0.128 122.7)

  • #007789

    #007789

    oklch(52.3% 0.091 212.9)

  • #7C4FAF

    #7C4FAF

    oklch(52.2% 0.15 303.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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