#AF1708

Closest named color: Rufous (#AE2012). oklch(48.2% 0.186 30.2), rgb(175, 23, 8).

Aa

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

About this color

#AF1708 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.186 and its hue 30°. 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.12:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.94:1
White text7.12:1

Values

HEX#AF1708
RGBrgb(175, 23, 8)
HSLhsl(5, 91%, 36%)
OKLCHoklch(48.2% 0.186 30.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 #AF1708 7.12:1 AAA Lc -87.7 Fine for body text
Black text on #AF1708 2.94:1 Fails Lc 21.3 Dividers and decoration only
#AF1708 text on white 7.12:1 AAA Lc 82.7 Fine for body text
#AF1708 text on black 2.94: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

    #F5AB9E

    oklch(80.9% 0.09 30.2)

  5. Step 400

    400

    #EC7B69

    oklch(70.7% 0.143 30.4)

  6. Step 500

    500

    #E3523F

    oklch(63.1% 0.184 30.4)

  7. Step 600

    600

    #CE2D1C

    oklch(55.6% 0.199 30.3)

  8. Step 700

    700 (this color)

    #AF1708

    oklch(48.2% 0.186 30.2)

  9. Step 800

    800

    #911C10

    oklch(42.8% 0.154 30.2)

  10. Step 900

    900

    #742016

    oklch(37.7% 0.119 30.2)

  11. Step 950

    950

    #44140E

    oklch(26.9% 0.076 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1708 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)#4D43020.201
Deuteranopia (no green cones)#7163000.179
Tritanopia (no blue cones)#C200170.040
Achromatopsia (no color)#5858580.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1708

    #AF1708

    oklch(48.2% 0.186 30.2)

  • #006B78

    #006B78

    oklch(48.3% 0.083 209.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1708

    #AF1708

    oklch(48.2% 0.186 30.2)

  • #A91259

    #A91259

    oklch(48.2% 0.186 0.5)

  • #8B4C00

    #8B4C00

    oklch(48.2% 0.113 60.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1708

    #AF1708

    oklch(48.2% 0.186 30.2)

  • #006E60

    #006E60

    oklch(48.2% 0.088 179.9)

  • #006596

    #006596

    oklch(48.3% 0.111 239.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1708

    #AF1708

    oklch(48.2% 0.186 30.2)

  • #007233

    #007233

    oklch(48.3% 0.132 150.3)

  • #394EC5

    #394EC5

    oklch(48.2% 0.186 270.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1708

    #AF1708

    oklch(48.2% 0.186 30.2)

  • #566700

    #566700

    oklch(48.2% 0.115 120.3)

  • #006B78

    #006B78

    oklch(48.3% 0.083 209.3)

  • #7139B5

    #7139B5

    oklch(48.2% 0.186 300.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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