#AF161A

Closest named color: Rufous (#AE2012). oklch(48.3% 0.185 27), rgb(175, 22, 26).

Aa

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

About this color

#AF161A is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.185 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.012 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#AF161A
RGBrgb(175, 22, 26)
HSLhsl(358, 78%, 39%)
OKLCHoklch(48.3% 0.185 27)

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 #AF161A 7.11:1 AAA Lc -87.7 Fine for body text
Black text on #AF161A 2.95:1 Fails Lc 21.4 Dividers and decoration only
#AF161A text on white 7.11:1 AAA Lc 82.7 Fine for body text
#AF161A 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

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F5ABA2

    oklch(81% 0.089 26.9)

  5. Step 400

    400

    #EC7A6F

    oklch(70.7% 0.143 27)

  6. Step 500

    500

    #E35148

    oklch(63.1% 0.183 27.1)

  7. Step 600

    600

    #CE2B2A

    oklch(55.5% 0.199 26.9)

  8. Step 700

    700 (this color)

    #AF161A

    oklch(48.3% 0.185 27)

  9. Step 800

    800

    #901B1A

    oklch(42.6% 0.153 27)

  10. Step 900

    900

    #741F1B

    oklch(37.7% 0.119 27.2)

  11. Step 950

    950

    #441411

    oklch(26.9% 0.075 26.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF161A 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)#4C43170.202
Deuteranopia (no green cones)#7063100.182
Tritanopia (no blue cones)#C1001B0.036
Achromatopsia (no color)#5858580.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF161A

    #AF161A

    oklch(48.3% 0.185 27)

  • #006B76

    #006B76

    oklch(48.2% 0.083 207.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF161A

    #AF161A

    oklch(48.3% 0.185 27)

  • #A71560

    #A71560

    oklch(48.2% 0.185 356.8)

  • #8E4A00

    #8E4A00

    oklch(48.3% 0.117 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF161A

    #AF161A

    oklch(48.3% 0.185 27)

  • #006F5D

    #006F5D

    oklch(48.4% 0.09 176.3)

  • #006692

    #006692

    oklch(48.3% 0.105 236.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF161A

    #AF161A

    oklch(48.3% 0.185 27)

  • #007326

    #007326

    oklch(48.4% 0.144 146.8)

  • #3051C5

    #3051C5

    oklch(48.3% 0.185 267)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF161A

    #AF161A

    oklch(48.3% 0.185 27)

  • #5B6600

    #5B6600

    oklch(48.4% 0.111 116.9)

  • #006B76

    #006B76

    oklch(48.2% 0.083 207.2)

  • #6C3CB7

    #6C3CB7

    oklch(48.2% 0.184 296.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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