#AF1E2D

Closest named color: Firebrick (#B22222). oklch(49% 0.178 22.4), rgb(175, 30, 45).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.04:1
White text6.89:1

Values

HEX#AF1E2D
RGBrgb(175, 30, 45)
HSLhsl(354, 71%, 40%)
OKLCHoklch(49% 0.178 22.4)

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 #AF1E2D 6.89:1 AA Lc -87.2 Fine for body text
Black text on #AF1E2D 3.04:1 AA large text Lc 21.9 Dividers and decoration only
#AF1E2D text on white 6.89:1 AA Lc 82.1 Fine for body text
#AF1E2D text on black 3.04:1 AA large text Lc -19.8 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

    #F8CDCB

    oklch(88.5% 0.049 21.2)

  4. Step 300

    300

    #F4ABA7

    oklch(81% 0.087 22.7)

  5. Step 400

    400

    #EA7B78

    oklch(70.7% 0.138 22.8)

  6. Step 500

    500

    #E05356

    oklch(63.1% 0.176 22.4)

  7. Step 600

    600

    #CB2F3B

    oklch(55.5% 0.191 22.4)

  8. Step 700

    700 (this color)

    #AF1E2D

    oklch(49% 0.178 22.4)

  9. Step 800

    800

    #8E1D26

    oklch(42.6% 0.148 22.4)

  10. Step 900

    900

    #732024

    oklch(37.8% 0.116 22.1)

  11. Step 950

    950

    #431415

    oklch(26.8% 0.073 22.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF1E2D 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)#4D462C0.196
Deuteranopia (no green cones)#7065280.179
Tritanopia (no blue cones)#C100260.036
Achromatopsia (no color)#5A5A5A0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1E2D

    #AF1E2D

    oklch(49% 0.178 22.4)

  • #006E75

    #006E75

    oklch(49% 0.083 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1E2D

    #AF1E2D

    oklch(49% 0.178 22.4)

  • #A5216A

    #A5216A

    oklch(49% 0.178 352.4)

  • #954700

    #954700

    oklch(48.9% 0.125 52.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1E2D

    #AF1E2D

    oklch(49% 0.178 22.4)

  • #00715B

    #00715B

    oklch(48.9% 0.094 173)

  • #00698F

    #00698F

    oklch(48.9% 0.1 232.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1E2D

    #AF1E2D

    oklch(49% 0.178 22.4)

  • #027600

    #027600

    oklch(49% 0.167 142.4)

  • #2357C3

    #2357C3

    oklch(48.9% 0.178 262.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1E2D

    #AF1E2D

    oklch(49% 0.178 22.4)

  • #626600

    #626600

    oklch(49% 0.109 112.4)

  • #006E75

    #006E75

    oklch(49% 0.083 202.5)

  • #6743BA

    #6743BA

    oklch(48.9% 0.178 292.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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