#AF2B2F

Closest named color: Firebrick (#B22222). oklch(50% 0.168 24.3), rgb(175, 43, 47).

Aa

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

About this color

#AF2B2F is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.014 away. White text reads best on it, at 6.54:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.20:1
White text6.54:1

Values

HEX#AF2B2F
RGBrgb(175, 43, 47)
HSLhsl(358, 61%, 43%)
OKLCHoklch(50% 0.168 24.3)

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 #AF2B2F 6.54:1 AA Lc -86.2 Fine for body text
Black text on #AF2B2F 3.20:1 AA large text Lc 23.0 Dividers and decoration only
#AF2B2F text on white 6.54:1 AA Lc 81.1 Fine for body text
#AF2B2F text on black 3.20:1 AA large text Lc -20.8 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #F9E4E2

    oklch(93.5% 0.023 24.1)

  3. Step 200

    200

    #F6CECB

    oklch(88.5% 0.046 23.1)

  4. Step 300

    300

    #F1ACA7

    oklch(80.8% 0.082 23.7)

  5. Step 400

    400

    #E77E78

    oklch(70.8% 0.131 24.3)

  6. Step 500

    500

    #DC5855

    oklch(63.1% 0.166 24.4)

  7. Step 600

    600

    #C7373A

    oklch(55.5% 0.181 24.3)

  8. Step 700

    700 (this color)

    #AF2B2F

    oklch(50% 0.168 24.3)

  9. Step 800

    800

    #8C2326

    oklch(42.8% 0.14 24)

  10. Step 900

    900

    #702423

    oklch(37.7% 0.108 24.6)

  11. Step 950

    950

    #421615

    oklch(27% 0.069 24.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF2B2F 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)#524B2E0.183
Deuteranopia (no green cones)#73682A0.168
Tritanopia (no blue cones)#C1002E0.041
Achromatopsia (no color)#5D5D5D0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2B2F

    #AF2B2F

    oklch(50% 0.168 24.3)

  • #00717A

    #00717A

    oklch(50% 0.085 204.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2B2F

    #AF2B2F

    oklch(50% 0.168 24.3)

  • #A62B69

    #A62B69

    oklch(49.9% 0.168 354.3)

  • #984B00

    #984B00

    oklch(50% 0.125 53.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF2B2F

    #AF2B2F

    oklch(50% 0.168 24.3)

  • #00745F

    #00745F

    oklch(49.9% 0.095 174.3)

  • #006C96

    #006C96

    oklch(50.1% 0.105 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2B2F

    #AF2B2F

    oklch(50% 0.168 24.3)

  • #007918

    #007918

    oklch(50% 0.161 144.3)

  • #305BC2

    #305BC2

    oklch(50.1% 0.169 264.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2B2F

    #AF2B2F

    oklch(50% 0.168 24.3)

  • #636A00

    #636A00

    oklch(50.1% 0.113 114.2)

  • #00717A

    #00717A

    oklch(50% 0.085 204.5)

  • #6C48B8

    #6C48B8

    oklch(50.1% 0.169 294.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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