#AF170F

Closest named color: Rufous (#AE2012). oklch(48.3% 0.185 29.3), rgb(175, 23, 15).

Aa

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

About this color

#AF170F is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.185 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.008 away. White text reads best on it, at 7.11:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.95:1
White text7.11:1

Values

HEX#AF170F
RGBrgb(175, 23, 15)
HSLhsl(3, 84%, 37%)
OKLCHoklch(48.3% 0.185 29.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 #AF170F 7.11:1 AAA Lc -87.7 Fine for body text
Black text on #AF170F 2.95:1 Fails Lc 21.4 Dividers and decoration only
#AF170F text on white 7.11:1 AAA Lc 82.7 Fine for body text
#AF170F text on black 2.95:1 Fails Lc -19.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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F9CEC6

    oklch(88.6% 0.05 30.4)

  4. Step 300

    300

    #F5AB9F

    oklch(80.9% 0.09 29.4)

  5. Step 400

    400

    #EC7A6B

    oklch(70.6% 0.143 28.9)

  6. Step 500

    500

    #E35242

    oklch(63.2% 0.183 29.4)

  7. Step 600

    600

    #CE2C21

    oklch(55.5% 0.199 29.2)

  8. Step 700

    700 (this color)

    #AF170F

    oklch(48.3% 0.185 29.3)

  9. Step 800

    800

    #901C13

    oklch(42.6% 0.153 29.5)

  10. Step 900

    900

    #741F17

    oklch(37.6% 0.12 29.3)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF170F 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)#4D430A0.201
Deuteranopia (no green cones)#7163000.180
Tritanopia (no blue cones)#C200180.039
Achromatopsia (no color)#5858580.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF170F

    #AF170F

    oklch(48.3% 0.185 29.3)

  • #006B78

    #006B78

    oklch(48.3% 0.083 209.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF170F

    #AF170F

    oklch(48.3% 0.185 29.3)

  • #A8135B

    #A8135B

    oklch(48.1% 0.185 359.3)

  • #8C4B00

    #8C4B00

    oklch(48.2% 0.114 59)

Open the analogous palette in the generator

Split complementary

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

  • #AF170F

    #AF170F

    oklch(48.3% 0.185 29.3)

  • #006E5F

    #006E5F

    oklch(48.2% 0.088 179)

  • #006595

    #006595

    oklch(48.3% 0.109 239.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF170F

    #AF170F

    oklch(48.3% 0.185 29.3)

  • #007230

    #007230

    oklch(48.2% 0.135 149.4)

  • #374FC5

    #374FC5

    oklch(48.3% 0.185 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF170F

    #AF170F

    oklch(48.3% 0.185 29.3)

  • #576700

    #576700

    oklch(48.3% 0.114 119.7)

  • #006B78

    #006B78

    oklch(48.3% 0.083 209.3)

  • #703AB5

    #703AB5

    oklch(48.2% 0.185 299.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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