#AF312C

Closest named color: Firebrick (#B22222). oklch(50.6% 0.163 27.1), rgb(175, 49, 44).

Aa

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

About this color

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

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

Values

HEX#AF312C
RGBrgb(175, 49, 44)
HSLhsl(2, 60%, 43%)
OKLCHoklch(50.6% 0.163 27.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 #AF312C 6.36:1 AA Lc -85.6 Fine for body text
Black text on #AF312C 3.29:1 AA large text Lc 23.6 Dividers and decoration only
#AF312C text on white 6.36:1 AA Lc 80.5 Fine for body text
#AF312C text on black 3.29:1 AA large text Lc -21.4 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

    #F5CFCA

    oklch(88.5% 0.044 26.8)

  4. Step 300

    300

    #F0ADA5

    oklch(80.9% 0.08 26.6)

  5. Step 400

    400

    #E58075

    oklch(70.8% 0.126 27.2)

  6. Step 500

    500

    #DA5B51

    oklch(63.1% 0.162 27.2)

  7. Step 600

    600

    #C53B35

    oklch(55.5% 0.176 27)

  8. Step 700

    700 (this color)

    #AF312C

    oklch(50.6% 0.163 27.1)

  9. Step 800

    800

    #8A2722

    oklch(42.8% 0.135 27.3)

  10. Step 900

    900

    #6F2621

    oklch(37.8% 0.105 27.1)

  11. Step 950

    950

    #411714

    oklch(26.9% 0.066 26.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF312C 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)#564E2A0.175
Deuteranopia (no green cones)#7569270.160
Tritanopia (no blue cones)#C100310.049
Achromatopsia (no color)#5F5F5F0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF312C

    #AF312C

    oklch(50.6% 0.163 27.1)

  • #00727E

    #00727E

    oklch(50.5% 0.087 207.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF312C

    #AF312C

    oklch(50.6% 0.163 27.1)

  • #A82F66

    #A82F66

    oklch(50.5% 0.164 357)

  • #974F00

    #974F00

    oklch(50.5% 0.122 57.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF312C

    #AF312C

    oklch(50.6% 0.163 27.1)

  • #007664

    #007664

    oklch(50.6% 0.094 177.1)

  • #006D9C

    #006D9C

    oklch(50.7% 0.111 237)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF312C

    #AF312C

    oklch(50.6% 0.163 27.1)

  • #007A2A

    #007A2A

    oklch(50.5% 0.15 147.1)

  • #3B5BC1

    #3B5BC1

    oklch(50.5% 0.164 267.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF312C

    #AF312C

    oklch(50.6% 0.163 27.1)

  • #616D00

    #616D00

    oklch(50.7% 0.117 117.1)

  • #00727E

    #00727E

    oklch(50.5% 0.087 207.5)

  • #7149B5

    #7149B5

    oklch(50.5% 0.164 297.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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