#AF1B23

Closest named color: Firebrick (#B22222). oklch(48.7% 0.181 25.2), rgb(175, 27, 35).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.00:1
White text6.99:1

Values

HEX#AF1B23
RGBrgb(175, 27, 35)
HSLhsl(357, 73%, 40%)
OKLCHoklch(48.7% 0.181 25.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 #AF1B23 6.99:1 AA Lc -87.5 Fine for body text
Black text on #AF1B23 3.00:1 AA large text Lc 21.6 Dividers and decoration only
#AF1B23 text on white 6.99:1 AA Lc 82.4 Fine for body text
#AF1B23 text on black 3.00:1 AA large text Lc -19.5 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F8CDC9

    oklch(88.4% 0.049 24.3)

  4. Step 300

    300

    #F4ABA4

    oklch(80.9% 0.087 25.3)

  5. Step 400

    400

    #EB7A73

    oklch(70.6% 0.141 24.9)

  6. Step 500

    500

    #E1524E

    oklch(63% 0.179 25.3)

  7. Step 600

    600

    #CD2E32

    oklch(55.7% 0.195 25.2)

  8. Step 700

    700 (this color)

    #AF1B23

    oklch(48.7% 0.181 25.2)

  9. Step 800

    800

    #8F1D20

    oklch(42.7% 0.149 25.1)

  10. Step 900

    900

    #73201F

    oklch(37.7% 0.117 25.3)

  11. Step 950

    950

    #441413

    oklch(27% 0.075 24.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF1B23 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)#4D45210.198
Deuteranopia (no green cones)#70641C0.180
Tritanopia (no blue cones)#C100200.036
Achromatopsia (no color)#5959590.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1B23

    #AF1B23

    oklch(48.7% 0.181 25.2)

  • #006D76

    #006D76

    oklch(48.8% 0.083 204.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1B23

    #AF1B23

    oklch(48.7% 0.181 25.2)

  • #A61C64

    #A61C64

    oklch(48.6% 0.181 355.2)

  • #914900

    #914900

    oklch(48.6% 0.12 55.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF1B23

    #AF1B23

    oklch(48.7% 0.181 25.2)

  • #00705D

    #00705D

    oklch(48.7% 0.091 175.5)

  • #006791

    #006791

    oklch(48.5% 0.103 235.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1B23

    #AF1B23

    oklch(48.7% 0.181 25.2)

  • #00741E

    #00741E

    oklch(48.6% 0.152 145.3)

  • #2C54C4

    #2C54C4

    oklch(48.7% 0.181 265.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1B23

    #AF1B23

    oklch(48.7% 0.181 25.2)

  • #5E6600

    #5E6600

    oklch(48.7% 0.11 115)

  • #006D76

    #006D76

    oklch(48.8% 0.083 204.8)

  • #6B3FB8

    #6B3FB8

    oklch(48.6% 0.181 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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