#AF313E

Closest named color: Firebrick (#B22222). oklch(50.9% 0.162 19.5), rgb(175, 49, 62).

Aa

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

About this color

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

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

Values

HEX#AF313E
RGBrgb(175, 49, 62)
HSLhsl(354, 56%, 44%)
OKLCHoklch(50.9% 0.162 19.5)

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 #AF313E 6.30:1 AA Lc -85.4 Fine for body text
Black text on #AF313E 3.33:1 AA large text Lc 23.8 Dividers and decoration only
#AF313E text on white 6.30:1 AA Lc 80.2 Fine for body text
#AF313E 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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F9E4E4

    oklch(93.6% 0.023 17.6)

  3. Step 200

    200

    #F5CECE

    oklch(88.5% 0.044 18)

  4. Step 300

    300

    #EFADAC

    oklch(80.9% 0.078 19.9)

  5. Step 400

    400

    #E47F81

    oklch(70.8% 0.125 19.5)

  6. Step 500

    500

    #D95A61

    oklch(63.2% 0.16 19.6)

  7. Step 600

    600

    #C43A48

    oklch(55.6% 0.174 19.4)

  8. Step 700

    700 (this color)

    #AF313E

    oklch(50.9% 0.162 19.5)

  9. Step 800

    800

    #892630

    oklch(42.7% 0.133 19.3)

  10. Step 900

    900

    #6E252A

    oklch(37.6% 0.104 19.6)

  11. Step 950

    950

    #411719

    oklch(27% 0.066 19.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF313E 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)#544F3E0.176
Deuteranopia (no green cones)#736A3A0.164
Tritanopia (no blue cones)#C007370.042
Achromatopsia (no color)#6060600.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF313E

    #AF313E

    oklch(50.9% 0.162 19.5)

  • #007479

    #007479

    oklch(50.8% 0.086 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF313E

    #AF313E

    oklch(50.9% 0.162 19.5)

  • #A43373

    #A43373

    oklch(50.8% 0.162 349.5)

  • #A04800

    #A04800

    oklch(50.7% 0.135 49.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF313E

    #AF313E

    oklch(50.9% 0.162 19.5)

  • #00785C

    #00785C

    oklch(50.9% 0.102 169.3)

  • #006F94

    #006F94

    oklch(50.7% 0.101 230.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF313E

    #AF313E

    oklch(50.9% 0.162 19.5)

  • #267A01

    #267A01

    oklch(50.9% 0.162 139.6)

  • #2561C0

    #2561C0

    oklch(50.8% 0.162 259.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF313E

    #AF313E

    oklch(50.9% 0.162 19.5)

  • #6B6A00

    #6B6A00

    oklch(50.8% 0.11 109.1)

  • #007479

    #007479

    oklch(50.8% 0.086 200.1)

  • #674FBA

    #674FBA

    oklch(50.9% 0.162 289.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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