#AF1122

Closest named color: Firebrick (#B22222). oklch(48.1% 0.186 24.3), rgb(175, 17, 34).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text2.92:1
White text7.17:1

Values

HEX#AF1122
RGBrgb(175, 17, 34)
HSLhsl(354, 82%, 38%)
OKLCHoklch(48.1% 0.186 24.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 #AF1122 7.17:1 AAA Lc -87.8 Fine for body text
Black text on #AF1122 2.92:1 Fails Lc 21.2 Dividers and decoration only
#AF1122 text on white 7.17:1 AAA Lc 82.8 Fine for body text
#AF1122 text on black 2.92:1 Fails Lc -19.1 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC9

    oklch(88.5% 0.05 24.2)

  4. Step 300

    300

    #F6AAA4

    oklch(80.9% 0.091 24.3)

  5. Step 400

    400

    #ED7973

    oklch(70.7% 0.144 24.4)

  6. Step 500

    500

    #E34F4F

    oklch(63% 0.184 24.1)

  7. Step 600

    600

    #CF2932

    oklch(55.7% 0.2 24.4)

  8. Step 700

    700 (this color)

    #AF1122

    oklch(48.1% 0.186 24.3)

  9. Step 800

    800

    #911920

    oklch(42.7% 0.154 24.3)

  10. Step 900

    900

    #741E1F

    oklch(37.6% 0.12 24.4)

  11. Step 950

    950

    #451313

    oklch(27% 0.077 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF1122 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)#4A42210.205
Deuteranopia (no green cones)#6F631B0.186
Tritanopia (no blue cones)#C1001B0.036
Achromatopsia (no color)#5757570.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1122

    #AF1122

    oklch(48.1% 0.186 24.3)

  • #006B73

    #006B73

    oklch(48.1% 0.082 203.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1122

    #AF1122

    oklch(48.1% 0.186 24.3)

  • #A61465

    #A61465

    oklch(48.2% 0.187 354.1)

  • #904700

    #904700

    oklch(48.1% 0.12 54.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF1122

    #AF1122

    oklch(48.1% 0.186 24.3)

  • #006E5A

    #006E5A

    oklch(48% 0.091 174.3)

  • #00668E

    #00668E

    oklch(48.1% 0.101 234.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1122

    #AF1122

    oklch(48.1% 0.186 24.3)

  • #007316

    #007316

    oklch(48.2% 0.155 144.2)

  • #2552C5

    #2552C5

    oklch(48.1% 0.186 264.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1122

    #AF1122

    oklch(48.1% 0.186 24.3)

  • #5D6400

    #5D6400

    oklch(48.1% 0.108 114.5)

  • #006B73

    #006B73

    oklch(48.1% 0.082 203.8)

  • #683DBA

    #683DBA

    oklch(48.2% 0.186 294.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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