#AF0225

Closest named color: Rouge (#AB1239). oklch(47.7% 0.191 22.2), rgb(175, 2, 37).

Aa

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

About this color

#AF0225 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.191 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.024 away. White text reads best on it, at 7.34:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.191)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.85:1
White text7.34:1

Values

HEX#AF0225
RGBrgb(175, 2, 37)
HSLhsl(348, 98%, 35%)
OKLCHoklch(47.7% 0.191 22.2)

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 #AF0225 7.34:1 AAA Lc -88.0 Fine for body text
Black text on #AF0225 2.85:1 Fails Lc 21.1 Dividers and decoration only
#AF0225 text on white 7.34:1 AAA Lc 83.0 Fine for body text
#AF0225 text on black 2.85:1 Fails Lc -18.9 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACDCA

    oklch(88.6% 0.051 22.6)

  4. Step 300

    300

    #F7A9A5

    oklch(80.9% 0.093 22.6)

  5. Step 400

    400

    #EF7776

    oklch(70.8% 0.148 22)

  6. Step 500

    500

    #E54C52

    oklch(63.1% 0.189 22.2)

  7. Step 600

    600

    #D12237

    oklch(55.7% 0.206 22.1)

  8. Step 700

    700 (this color)

    #AF0225

    oklch(47.7% 0.191 22.2)

  9. Step 800

    800

    #921423

    oklch(42.6% 0.158 22.2)

  10. Step 900

    900

    #751C21

    oklch(37.6% 0.123 22.5)

  11. Step 950

    950

    #451214

    oklch(26.9% 0.078 21.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF0225 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)#4740240.212
Deuteranopia (no green cones)#6D621E0.193
Tritanopia (no blue cones)#C100160.040
Achromatopsia (no color)#5656560.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0225

    #AF0225

    oklch(47.7% 0.191 22.2)

  • #006A70

    #006A70

    oklch(47.7% 0.081 201.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0225

    #AF0225

    oklch(47.7% 0.191 22.2)

  • #A40C67

    #A40C67

    oklch(47.6% 0.191 352.2)

  • #904400

    #904400

    oklch(47.6% 0.122 52)

Open the analogous palette in the generator

Split complementary

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

  • #AF0225

    #AF0225

    oklch(47.7% 0.191 22.2)

  • #006D57

    #006D57

    oklch(47.6% 0.092 172.4)

  • #00658A

    #00658A

    oklch(47.6% 0.098 232.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0225

    #AF0225

    oklch(47.7% 0.191 22.2)

  • #057100

    #057100

    oklch(47.6% 0.161 142.2)

  • #1851C6

    #1851C6

    oklch(47.6% 0.192 262.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0225

    #AF0225

    oklch(47.7% 0.191 22.2)

  • #5E6200

    #5E6200

    oklch(47.6% 0.106 112.5)

  • #006A70

    #006A70

    oklch(47.7% 0.081 201.6)

  • #643BBC

    #643BBC

    oklch(47.7% 0.191 292.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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