#AF072F

Closest named color: Rouge (#AB1239). oklch(48% 0.189 19.2), rgb(175, 7, 47).

Aa

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

About this color

#AF072F is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.189 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.014 away. White text reads best on it, at 7.25:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.89:1
White text7.25:1

Values

HEX#AF072F
RGBrgb(175, 7, 47)
HSLhsl(346, 92%, 36%)
OKLCHoklch(48% 0.189 19.2)

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 #AF072F 7.25:1 AAA Lc -87.9 Fine for body text
Black text on #AF072F 2.89:1 Fails Lc 21.2 Dividers and decoration only
#AF072F text on white 7.25:1 AAA Lc 82.9 Fine for body text
#AF072F text on black 2.89: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CCCC

    oklch(88.4% 0.051 18.2)

  4. Step 300

    300

    #F6A9A9

    oklch(80.9% 0.091 19.2)

  5. Step 400

    400

    #EE777B

    oklch(70.7% 0.147 19.5)

  6. Step 500

    500

    #E44C5A

    oklch(63% 0.187 19.2)

  7. Step 600

    600

    #CF2440

    oklch(55.5% 0.203 19.2)

  8. Step 700

    700 (this color)

    #AF072F

    oklch(48% 0.189 19.2)

  9. Step 800

    800

    #91152A

    oklch(42.6% 0.156 19.1)

  10. Step 900

    900

    #751C26

    oklch(37.7% 0.122 19.3)

  11. Step 950

    950

    #451217

    oklch(27% 0.078 18.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF072F 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)#46412F0.212
Deuteranopia (no green cones)#6D62290.191
Tritanopia (no blue cones)#C1001D0.042
Achromatopsia (no color)#5757570.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF072F

    #AF072F

    oklch(48% 0.189 19.2)

  • #006B6F

    #006B6F

    oklch(47.9% 0.082 199.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF072F

    #AF072F

    oklch(48% 0.189 19.2)

  • #A3146E

    #A3146E

    oklch(48% 0.189 349.1)

  • #944200

    #944200

    oklch(47.9% 0.128 49.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF072F

    #AF072F

    oklch(48% 0.189 19.2)

  • #006E54

    #006E54

    oklch(47.8% 0.096 169.2)

  • #006788

    #006788

    oklch(48% 0.095 229)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF072F

    #AF072F

    oklch(48% 0.189 19.2)

  • #247000

    #247000

    oklch(47.9% 0.152 139.2)

  • #0055C4

    #0055C4

    oklch(47.9% 0.187 259.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF072F

    #AF072F

    oklch(48% 0.189 19.2)

  • #626200

    #626200

    oklch(48% 0.105 109.8)

  • #006B6F

    #006B6F

    oklch(47.9% 0.082 199.3)

  • #603FBE

    #603FBE

    oklch(48% 0.188 289.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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