#AF0B2E

Closest named color: Rouge (#AB1239). oklch(48.1% 0.188 19.8), rgb(175, 11, 46).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.91:1
White text7.21:1

Values

HEX#AF0B2E
RGBrgb(175, 11, 46)
HSLhsl(347, 88%, 36%)
OKLCHoklch(48.1% 0.188 19.8)

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 #AF0B2E 7.21:1 AAA Lc -87.9 Fine for body text
Black text on #AF0B2E 2.91:1 Fails Lc 21.2 Dividers and decoration only
#AF0B2E text on white 7.21:1 AAA Lc 82.8 Fine for body text
#AF0B2E text on black 2.91: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

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F6A9A8

    oklch(80.9% 0.091 20.1)

  5. Step 400

    400

    #ED777B

    oklch(70.6% 0.146 19.4)

  6. Step 500

    500

    #E44D59

    oklch(63.1% 0.186 19.8)

  7. Step 600

    600

    #CF253F

    oklch(55.6% 0.202 19.7)

  8. Step 700

    700 (this color)

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  9. Step 800

    800

    #911629

    oklch(42.7% 0.156 19.8)

  10. Step 900

    900

    #751D25

    oklch(37.8% 0.121 20.4)

  11. Step 950

    950

    #451316

    oklch(27.1% 0.077 20.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF0B2E 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)#47422E0.210
Deuteranopia (no green cones)#6D63280.192
Tritanopia (no blue cones)#C1001E0.040
Achromatopsia (no color)#5757570.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0B2E

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  • #006B70

    #006B70

    oklch(48% 0.082 200.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0B2E

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  • #A3156D

    #A3156D

    oklch(48% 0.188 349.6)

  • #944300

    #944300

    oklch(48% 0.127 50)

Open the analogous palette in the generator

Split complementary

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

  • #AF0B2E

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  • #006F55

    #006F55

    oklch(48.2% 0.096 169.4)

  • #006789

    #006789

    oklch(48.1% 0.096 229.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0B2E

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  • #207100

    #207100

    oklch(48.1% 0.154 139.9)

  • #0755C5

    #0755C5

    oklch(48.1% 0.188 259.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0B2E

    #AF0B2E

    oklch(48.1% 0.188 19.8)

  • #626200

    #626200

    oklch(48% 0.105 109.8)

  • #006B70

    #006B70

    oklch(48% 0.082 200.5)

  • #613FBE

    #613FBE

    oklch(48.1% 0.188 289.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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