#AF1725

Closest named color: Firebrick (#B22222). oklch(48.5% 0.183 24), rgb(175, 23, 37).

Aa

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

About this color

#AF1725 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.183 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.015 away. White text reads best on it, at 7.06:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text2.97:1
White text7.06:1

Values

HEX#AF1725
RGBrgb(175, 23, 37)
HSLhsl(354, 77%, 39%)
OKLCHoklch(48.5% 0.183 24)

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 #AF1725 7.06:1 AAA Lc -87.6 Fine for body text
Black text on #AF1725 2.97:1 Fails Lc 21.5 Dividers and decoration only
#AF1725 text on white 7.06:1 AAA Lc 82.6 Fine for body text
#AF1725 text on black 2.97:1 Fails Lc -19.3 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

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F8CDC9

    oklch(88.4% 0.049 24.3)

  4. Step 300

    300

    #F5AAA5

    oklch(80.9% 0.089 23.5)

  5. Step 400

    400

    #EC7A74

    oklch(70.8% 0.142 24.4)

  6. Step 500

    500

    #E25150

    oklch(63.1% 0.181 24.2)

  7. Step 600

    600

    #CD2B34

    oklch(55.5% 0.197 24.1)

  8. Step 700

    700 (this color)

    #AF1725

    oklch(48.5% 0.183 24)

  9. Step 800

    800

    #901B22

    oklch(42.7% 0.152 23.9)

  10. Step 900

    900

    #741F20

    oklch(37.8% 0.119 24.3)

  11. Step 950

    950

    #441413

    oklch(27% 0.075 24.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF1725 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)#4B44240.202
Deuteranopia (no green cones)#70641E0.183
Tritanopia (no blue cones)#C1001F0.036
Achromatopsia (no color)#5858580.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1725

    #AF1725

    oklch(48.5% 0.183 24)

  • #006C74

    #006C74

    oklch(48.4% 0.083 203.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1725

    #AF1725

    oklch(48.5% 0.183 24)

  • #A61966

    #A61966

    oklch(48.5% 0.184 354)

  • #924800

    #924800

    oklch(48.6% 0.122 54.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF1725

    #AF1725

    oklch(48.5% 0.183 24)

  • #006F5B

    #006F5B

    oklch(48.3% 0.092 174.5)

  • #00678F

    #00678F

    oklch(48.4% 0.101 234.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1725

    #AF1725

    oklch(48.5% 0.183 24)

  • #007415

    #007415

    oklch(48.5% 0.157 144.1)

  • #2654C4

    #2654C4

    oklch(48.5% 0.182 263.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1725

    #AF1725

    oklch(48.5% 0.183 24)

  • #5F6500

    #5F6500

    oklch(48.5% 0.109 113.8)

  • #006C74

    #006C74

    oklch(48.4% 0.083 203.8)

  • #683FBA

    #683FBA

    oklch(48.5% 0.183 293.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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