#AF161F

Closest named color: Firebrick (#B22222). oklch(48.3% 0.184 25.7), rgb(175, 22, 31).

Aa

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

About this color

#AF161F is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.184 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.015 away. White text reads best on it, at 7.10:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text2.95:1
White text7.10:1

Values

HEX#AF161F
RGBrgb(175, 22, 31)
HSLhsl(356, 78%, 39%)
OKLCHoklch(48.3% 0.184 25.7)

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

    #F8CDC8

    oklch(88.4% 0.049 25.9)

  4. Step 300

    300

    #F5AAA3

    oklch(80.8% 0.09 25.2)

  5. Step 400

    400

    #EC7A71

    oklch(70.7% 0.142 26)

  6. Step 500

    500

    #E3514C

    oklch(63.2% 0.183 25.7)

  7. Step 600

    600

    #CE2B2F

    oklch(55.6% 0.198 25.6)

  8. Step 700

    700 (this color)

    #AF161F

    oklch(48.3% 0.184 25.7)

  9. Step 800

    800

    #901B1D

    oklch(42.7% 0.152 25.9)

  10. Step 900

    900

    #741F1E

    oklch(37.7% 0.119 25.5)

  11. Step 950

    950

    #441412

    oklch(27% 0.075 25.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF161F 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)#4B431D0.203
Deuteranopia (no green cones)#7064170.184
Tritanopia (no blue cones)#C1001C0.036
Achromatopsia (no color)#5858580.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF161F

    #AF161F

    oklch(48.3% 0.184 25.7)

  • #006B75

    #006B75

    oklch(48.2% 0.082 206.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF161F

    #AF161F

    oklch(48.3% 0.184 25.7)

  • #A71762

    #A71762

    oklch(48.4% 0.184 356)

  • #904900

    #904900

    oklch(48.4% 0.119 55.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF161F

    #AF161F

    oklch(48.3% 0.184 25.7)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

  • #006691

    #006691

    oklch(48.3% 0.104 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF161F

    #AF161F

    oklch(48.3% 0.184 25.7)

  • #007320

    #007320

    oklch(48.3% 0.149 145.7)

  • #2C52C5

    #2C52C5

    oklch(48.4% 0.185 265.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF161F

    #AF161F

    oklch(48.3% 0.184 25.7)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #006B75

    #006B75

    oklch(48.2% 0.082 206.1)

  • #6B3DB8

    #6B3DB8

    oklch(48.3% 0.184 295.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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