#AF1F0E

Closest named color: Rufous (#AE2012). oklch(48.7% 0.181 30.7), rgb(175, 31, 14).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text3.02:1
White text6.94:1

Values

HEX#AF1F0E
RGBrgb(175, 31, 14)
HSLhsl(6, 85%, 37%)
OKLCHoklch(48.7% 0.181 30.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 #AF1F0E 6.94:1 AA Lc -87.3 Fine for body text
Black text on #AF1F0E 3.02:1 AA large text Lc 21.8 Dividers and decoration only
#AF1F0E text on white 6.94:1 AA Lc 82.3 Fine for body text
#AF1F0E text on black 3.02:1 AA large text Lc -19.6 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

    #FAE4E0

    oklch(93.6% 0.025 29.9)

  3. Step 200

    200

    #F8CEC6

    oklch(88.5% 0.049 30.7)

  4. Step 300

    300

    #F4AC9F

    oklch(81% 0.087 30.5)

  5. Step 400

    400

    #EB7C6A

    oklch(70.7% 0.14 30.5)

  6. Step 500

    500

    #E15441

    oklch(63.1% 0.179 30.4)

  7. Step 600

    600

    #CC311E

    oklch(55.6% 0.194 30.7)

  8. Step 700

    700 (this color)

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  9. Step 800

    800

    #8F1F11

    oklch(42.7% 0.15 30.8)

  10. Step 900

    900

    #732116

    oklch(37.7% 0.117 30.8)

  11. Step 950

    950

    #44150E

    oklch(27% 0.074 30.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1F0E 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)#4F45080.195
Deuteranopia (no green cones)#7265000.176
Tritanopia (no blue cones)#C2001E0.042
Achromatopsia (no color)#5A5A5A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1F0E

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  • #006C7B

    #006C7B

    oklch(48.7% 0.085 211.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1F0E

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  • #A91A5A

    #A91A5A

    oklch(48.7% 0.181 0.6)

  • #8D4D00

    #8D4D00

    oklch(48.7% 0.114 60.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF1F0E

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  • #007062

    #007062

    oklch(48.9% 0.089 180.2)

  • #006699

    #006699

    oklch(48.7% 0.113 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1F0E

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  • #007435

    #007435

    oklch(48.9% 0.133 150.7)

  • #3C50C4

    #3C50C4

    oklch(48.7% 0.181 270.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1F0E

    #AF1F0E

    oklch(48.7% 0.181 30.7)

  • #576900

    #576900

    oklch(48.8% 0.117 120.7)

  • #006C7B

    #006C7B

    oklch(48.7% 0.085 211.3)

  • #733CB4

    #733CB4

    oklch(48.8% 0.182 300.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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