#AF1D2A

Closest named color: Firebrick (#B22222). oklch(48.9% 0.179 23.3), rgb(175, 29, 42).

Aa

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

About this color

#AF1D2A is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.179 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.014 away. White text reads best on it, at 6.92:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.03:1
White text6.92:1

Values

HEX#AF1D2A
RGBrgb(175, 29, 42)
HSLhsl(355, 72%, 40%)
OKLCHoklch(48.9% 0.179 23.3)

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 #AF1D2A 6.92:1 AA Lc -87.3 Fine for body text
Black text on #AF1D2A 3.03:1 AA large text Lc 21.8 Dividers and decoration only
#AF1D2A text on white 6.92:1 AA Lc 82.2 Fine for body text
#AF1D2A text on black 3.03:1 AA large text Lc -19.7 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

    #FAE4E2

    oklch(93.6% 0.024 23.9)

  3. Step 200

    200

    #F8CDCA

    oklch(88.4% 0.049 22.8)

  4. Step 300

    300

    #F4ABA6

    oklch(81% 0.087 23.5)

  5. Step 400

    400

    #EA7B77

    oklch(70.7% 0.138 23.3)

  6. Step 500

    500

    #E05254

    oklch(63% 0.177 22.9)

  7. Step 600

    600

    #CC2E38

    oklch(55.6% 0.193 23.3)

  8. Step 700

    700 (this color)

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  9. Step 800

    800

    #8F1D24

    oklch(42.7% 0.149 23.4)

  10. Step 900

    900

    #732022

    oklch(37.7% 0.116 23.4)

  11. Step 950

    950

    #441414

    oklch(27% 0.074 23.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF1D2A 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)#4D46290.196
Deuteranopia (no green cones)#7065240.180
Tritanopia (no blue cones)#C100240.036
Achromatopsia (no color)#5A5A5A0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1D2A

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  • #006D75

    #006D75

    oklch(48.7% 0.083 203.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1D2A

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  • #A51F68

    #A51F68

    oklch(48.8% 0.179 353.2)

  • #944800

    #944800

    oklch(48.9% 0.124 53.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1D2A

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  • #00715B

    #00715B

    oklch(48.9% 0.094 173)

  • #006990

    #006990

    oklch(49% 0.101 232.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1D2A

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  • #00750C

    #00750C

    oklch(48.8% 0.162 143.3)

  • #2656C4

    #2656C4

    oklch(48.9% 0.18 263.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1D2A

    #AF1D2A

    oklch(48.9% 0.179 23.3)

  • #616600

    #616600

    oklch(48.9% 0.109 113.1)

  • #006D75

    #006D75

    oklch(48.7% 0.083 203.7)

  • #6842BA

    #6842BA

    oklch(48.9% 0.18 293.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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