#AF240F

Closest named color: Rufous (#AE2012). oklch(49.1% 0.178 31.5), rgb(175, 36, 15).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text3.08:1
White text6.81:1

Values

HEX#AF240F
RGBrgb(175, 36, 15)
HSLhsl(8, 84%, 37%)
OKLCHoklch(49.1% 0.178 31.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 #AF240F 6.81:1 AA Lc -87.0 Fine for body text
Black text on #AF240F 3.08:1 AA large text Lc 22.1 Dividers and decoration only
#AF240F text on white 6.81:1 AA Lc 81.9 Fine for body text
#AF240F text on black 3.08:1 AA large text Lc -20.0 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

    #F7CEC6

    oklch(88.4% 0.048 30.9)

  4. Step 300

    300

    #F3AC9E

    oklch(80.8% 0.087 31.5)

  5. Step 400

    400

    #E97D6A

    oklch(70.6% 0.137 31.2)

  6. Step 500

    500

    #DF5640

    oklch(63% 0.176 31.5)

  7. Step 600

    600

    #CB341E

    oklch(55.6% 0.191 31.4)

  8. Step 700

    700 (this color)

    #AF240F

    oklch(49.1% 0.178 31.5)

  9. Step 800

    800

    #8E2111

    oklch(42.7% 0.147 31.5)

  10. Step 900

    900

    #722216

    oklch(37.6% 0.115 31.3)

  11. Step 950

    950

    #43160E

    oklch(27% 0.072 32.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF240F 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)#5147080.190
Deuteranopia (no green cones)#7366010.172
Tritanopia (no blue cones)#C100220.043
Achromatopsia (no color)#5B5B5B0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF240F

    #AF240F

    oklch(49.1% 0.178 31.5)

  • #006D7C

    #006D7C

    oklch(49% 0.085 211.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF240F

    #AF240F

    oklch(49.1% 0.178 31.5)

  • #AA1F5A

    #AA1F5A

    oklch(49.2% 0.178 1.4)

  • #8D4F00

    #8D4F00

    oklch(49.1% 0.113 61.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF240F

    #AF240F

    oklch(49.1% 0.178 31.5)

  • #007164

    #007164

    oklch(49.2% 0.089 181.2)

  • #00679C

    #00679C

    oklch(49.2% 0.116 241.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF240F

    #AF240F

    oklch(49.1% 0.178 31.5)

  • #007538

    #007538

    oklch(49.2% 0.131 151.5)

  • #4052C3

    #4052C3

    oklch(49.2% 0.177 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF240F

    #AF240F

    oklch(49.1% 0.178 31.5)

  • #576A00

    #576A00

    oklch(49.1% 0.118 121.1)

  • #006D7C

    #006D7C

    oklch(49% 0.085 211.2)

  • #743EB3

    #743EB3

    oklch(49.1% 0.178 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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