#AF1C12

Closest named color: Rufous (#AE2012). oklch(48.6% 0.182 29.5), rgb(175, 28, 18).

Aa

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

About this color

#AF1C12 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.182 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.004 away. White text reads best on it, at 7.00:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.99:1
White text7.00:1

Values

HEX#AF1C12
RGBrgb(175, 28, 18)
HSLhsl(4, 81%, 38%)
OKLCHoklch(48.6% 0.182 29.5)

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 #AF1C12 7.00:1 AAA Lc -87.5 Fine for body text
Black text on #AF1C12 2.99:1 Fails Lc 21.6 Dividers and decoration only
#AF1C12 text on white 7.00:1 AAA Lc 82.4 Fine for body text
#AF1C12 text on black 2.99:1 Fails Lc -19.5 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

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F4AB9F

    oklch(80.8% 0.088 29.5)

  5. Step 400

    400

    #EB7B6B

    oklch(70.6% 0.141 29.5)

  6. Step 500

    500

    #E25343

    oklch(63.2% 0.181 29.4)

  7. Step 600

    600

    #CD2F22

    oklch(55.6% 0.196 29.5)

  8. Step 700

    700 (this color)

    #AF1C12

    oklch(48.6% 0.182 29.5)

  9. Step 800

    800

    #901E14

    oklch(42.8% 0.151 29.7)

  10. Step 900

    900

    #732018

    oklch(37.6% 0.118 29.3)

  11. Step 950

    950

    #44150F

    oklch(27.1% 0.074 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1C12 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)#4E450D0.198
Deuteranopia (no green cones)#7164040.178
Tritanopia (no blue cones)#C1001C0.038
Achromatopsia (no color)#5959590.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1C12

    #AF1C12

    oklch(48.6% 0.182 29.5)

  • #006C79

    #006C79

    oklch(48.6% 0.084 209.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1C12

    #AF1C12

    oklch(48.6% 0.182 29.5)

  • #A9185C

    #A9185C

    oklch(48.6% 0.183 359.5)

  • #8D4C00

    #8D4C00

    oklch(48.5% 0.115 59.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1C12

    #AF1C12

    oklch(48.6% 0.182 29.5)

  • #006F61

    #006F61

    oklch(48.5% 0.088 180.1)

  • #006696

    #006696

    oklch(48.6% 0.11 239.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1C12

    #AF1C12

    oklch(48.6% 0.182 29.5)

  • #007331

    #007331

    oklch(48.5% 0.135 149.6)

  • #3950C4

    #3950C4

    oklch(48.5% 0.182 269.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1C12

    #AF1C12

    oklch(48.6% 0.182 29.5)

  • #586800

    #586800

    oklch(48.7% 0.115 119.7)

  • #006C79

    #006C79

    oklch(48.6% 0.084 209.2)

  • #713CB5

    #713CB5

    oklch(48.6% 0.182 299.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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