#AF3239

Closest named color: Firebrick (#B22222). oklch(50.9% 0.161 22.1), rgb(175, 50, 57).

Aa

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

About this color

#AF3239 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.161 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.026 away. White text reads best on it, at 6.29:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.33:1
White text6.29:1

Values

HEX#AF3239
RGBrgb(175, 50, 57)
HSLhsl(357, 56%, 44%)
OKLCHoklch(50.9% 0.161 22.1)

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 #AF3239 6.29:1 AA Lc -85.4 Fine for body text
Black text on #AF3239 3.33:1 AA large text Lc 23.9 Dividers and decoration only
#AF3239 text on white 6.29:1 AA Lc 80.2 Fine for body text
#AF3239 text on black 3.33:1 AA large text Lc -21.6 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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F9E4E3

    oklch(93.5% 0.023 20.9)

  3. Step 200

    200

    #F5CFCC

    oklch(88.6% 0.043 23.3)

  4. Step 300

    300

    #EFADAA

    oklch(80.9% 0.078 21.9)

  5. Step 400

    400

    #E47F7D

    oklch(70.7% 0.125 21.9)

  6. Step 500

    500

    #D95B5C

    oklch(63.2% 0.159 22.3)

  7. Step 600

    600

    #C43B42

    oklch(55.5% 0.173 22.1)

  8. Step 700

    700 (this color)

    #AF3239

    oklch(50.9% 0.161 22.1)

  9. Step 800

    800

    #89262C

    oklch(42.6% 0.134 21.7)

  10. Step 900

    900

    #6E2527

    oklch(37.6% 0.104 22)

  11. Step 950

    950

    #411717

    oklch(27% 0.066 22.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF3239 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)#554F380.175
Deuteranopia (no green cones)#746A350.162
Tritanopia (no blue cones)#C007360.044
Achromatopsia (no color)#6060600.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3239

    #AF3239

    oklch(50.9% 0.161 22.1)

  • #00747B

    #00747B

    oklch(50.9% 0.087 202.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3239

    #AF3239

    oklch(50.9% 0.161 22.1)

  • #A6336F

    #A6336F

    oklch(50.9% 0.161 352.2)

  • #9E4B00

    #9E4B00

    oklch(50.9% 0.131 51.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF3239

    #AF3239

    oklch(50.9% 0.161 22.1)

  • #00775F

    #00775F

    oklch(50.7% 0.098 172.2)

  • #006F97

    #006F97

    oklch(50.9% 0.104 232.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3239

    #AF3239

    oklch(50.9% 0.161 22.1)

  • #1A7B12

    #1A7B12

    oklch(50.9% 0.161 142)

  • #2E60C0

    #2E60C0

    oklch(50.9% 0.16 261.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3239

    #AF3239

    oklch(50.9% 0.161 22.1)

  • #686B00

    #686B00

    oklch(50.8% 0.112 111.7)

  • #00747B

    #00747B

    oklch(50.9% 0.087 202.2)

  • #6A4EB8

    #6A4EB8

    oklch(50.8% 0.16 291.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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