#AF2C29

Closest named color: Firebrick (#B22222). oklch(50% 0.168 26.7), rgb(175, 44, 41).

Aa

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

About this color

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

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

Values

HEX#AF2C29
RGBrgb(175, 44, 41)
HSLhsl(1, 62%, 42%)
OKLCHoklch(50% 0.168 26.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 #AF2C29 6.53:1 AA Lc -86.2 Fine for body text
Black text on #AF2C29 3.21:1 AA large text Lc 23.0 Dividers and decoration only
#AF2C29 text on white 6.53:1 AA Lc 81.0 Fine for body text
#AF2C29 text on black 3.21: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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #F9E4E1

    oklch(93.5% 0.023 27.3)

  3. Step 200

    200

    #F6CEC9

    oklch(88.4% 0.046 26.4)

  4. Step 300

    300

    #F1ADA5

    oklch(81% 0.081 26.5)

  5. Step 400

    400

    #E67E74

    oklch(70.6% 0.13 26.6)

  6. Step 500

    500

    #DC5950

    oklch(63.2% 0.166 26.8)

  7. Step 600

    600

    #C73834

    oklch(55.5% 0.181 26.6)

  8. Step 700

    700 (this color)

    #AF2C29

    oklch(50% 0.168 26.7)

  9. Step 800

    800

    #8B2421

    oklch(42.6% 0.139 26.7)

  10. Step 900

    900

    #702420

    oklch(37.6% 0.108 26.6)

  11. Step 950

    950

    #421613

    oklch(26.9% 0.069 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF2C29 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)#534B270.182
Deuteranopia (no green cones)#7468240.165
Tritanopia (no blue cones)#C1002D0.044
Achromatopsia (no color)#5E5E5E0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2C29

    #AF2C29

    oklch(50% 0.168 26.7)

  • #00717C

    #00717C

    oklch(50.1% 0.086 206.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2C29

    #AF2C29

    oklch(50% 0.168 26.7)

  • #A82B65

    #A82B65

    oklch(50.1% 0.168 356.9)

  • #954E00

    #954E00

    oklch(50% 0.121 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF2C29

    #AF2C29

    oklch(50% 0.168 26.7)

  • #007462

    #007462

    oklch(50% 0.093 176.9)

  • #006B99

    #006B99

    oklch(50% 0.109 236.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2C29

    #AF2C29

    oklch(50% 0.168 26.7)

  • #007928

    #007928

    oklch(50.2% 0.15 146.7)

  • #3859C2

    #3859C2

    oklch(50% 0.169 266.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2C29

    #AF2C29

    oklch(50% 0.168 26.7)

  • #606B00

    #606B00

    oklch(50.1% 0.115 116.6)

  • #00717C

    #00717C

    oklch(50.1% 0.086 206.6)

  • #6F47B6

    #6F47B6

    oklch(50.1% 0.168 296.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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