#AF312F

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

Aa

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

About this color

#AF312F is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.163 and its hue 26°. 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.35:1.

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

Values

HEX#AF312F
RGBrgb(175, 49, 47)
HSLhsl(1, 58%, 44%)
OKLCHoklch(50.6% 0.163 25.9)

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 #AF312F 6.35:1 AA Lc -85.6 Fine for body text
Black text on #AF312F 3.30:1 AA large text Lc 23.6 Dividers and decoration only
#AF312F text on white 6.35:1 AA Lc 80.4 Fine for body text
#AF312F text on black 3.30: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

    #F0ADA6

    oklch(80.9% 0.08 25.7)

  5. Step 400

    400

    #E57F77

    oklch(70.7% 0.127 25.5)

  6. Step 500

    500

    #DA5B54

    oklch(63.2% 0.161 25.9)

  7. Step 600

    600

    #C53B38

    oklch(55.6% 0.175 26)

  8. Step 700

    700 (this color)

    #AF312F

    oklch(50.6% 0.163 25.9)

  9. Step 800

    800

    #8A2624

    oklch(42.7% 0.136 26)

  10. Step 900

    900

    #6F2522

    oklch(37.6% 0.106 25.8)

  11. Step 950

    950

    #411714

    oklch(26.9% 0.066 26.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF312F 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)#554E2D0.176
Deuteranopia (no green cones)#75692B0.160
Tritanopia (no blue cones)#C100320.048
Achromatopsia (no color)#5F5F5F0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF312F

    #AF312F

    oklch(50.6% 0.163 25.9)

  • #00737D

    #00737D

    oklch(50.7% 0.087 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF312F

    #AF312F

    oklch(50.6% 0.163 25.9)

  • #A73068

    #A73068

    oklch(50.5% 0.163 355.8)

  • #994E00

    #994E00

    oklch(50.6% 0.124 55.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF312F

    #AF312F

    oklch(50.6% 0.163 25.9)

  • #007663

    #007663

    oklch(50.6% 0.094 176.3)

  • #006D9A

    #006D9A

    oklch(50.6% 0.109 235.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF312F

    #AF312F

    oklch(50.6% 0.163 25.9)

  • #007B24

    #007B24

    oklch(50.7% 0.156 145.9)

  • #385CC1

    #385CC1

    oklch(50.6% 0.164 265.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF312F

    #AF312F

    oklch(50.6% 0.163 25.9)

  • #626C00

    #626C00

    oklch(50.5% 0.115 116)

  • #00737D

    #00737D

    oklch(50.7% 0.087 205.4)

  • #6F4AB6

    #6F4AB6

    oklch(50.5% 0.164 295.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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