#AB1F37

Closest named color: Rouge (#AB1239). oklch(48.5% 0.174 18.2), rgb(171, 31, 55).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.98:1
White text7.04:1

Values

HEX#AB1F37
RGBrgb(171, 31, 55)
HSLhsl(350, 69%, 40%)
OKLCHoklch(48.5% 0.174 18.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 #AB1F37 7.04:1 AAA Lc -87.8 Fine for body text
Black text on #AB1F37 2.98:1 Fails Lc 21.2 Dividers and decoration only
#AB1F37 text on white 7.04:1 AAA Lc 82.8 Fine for body text
#AB1F37 text on black 2.98:1 Fails Lc -19.1 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

    #FAE4E4

    oklch(93.7% 0.024 17.6)

  3. Step 200

    200

    #F7CDCD

    oklch(88.4% 0.048 18.1)

  4. Step 300

    300

    #F2ABAC

    oklch(80.9% 0.084 18.1)

  5. Step 400

    400

    #E87B80

    oklch(70.7% 0.135 18.2)

  6. Step 500

    500

    #DE5460

    oklch(63.1% 0.172 18.4)

  7. Step 600

    600

    #C93247

    oklch(55.6% 0.186 18.4)

  8. Step 700

    700 (this color)

    #AB1F37

    oklch(48.5% 0.174 18.2)

  9. Step 800

    800

    #8D1F2F

    oklch(42.7% 0.144 18.3)

  10. Step 900

    900

    #71212A

    oklch(37.6% 0.112 18)

  11. Step 950

    950

    #431519

    oklch(27.1% 0.071 18)

Export this scale for Tailwind in the Tailwind colors tool

#AB1F37 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)#4A46370.193
Deuteranopia (no green cones)#6D63330.175
Tritanopia (no blue cones)#BC002A0.036
Achromatopsia (no color)#5959590.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1F37

    #AB1F37

    oklch(48.5% 0.174 18.2)

  • #006D70

    #006D70

    oklch(48.5% 0.083 198.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1F37

    #AB1F37

    oklch(48.5% 0.174 18.2)

  • #9F246F

    #9F246F

    oklch(48.4% 0.173 348.3)

  • #984200

    #984200

    oklch(48.5% 0.132 48.1)

Open the analogous palette in the generator

Split complementary

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

  • #AB1F37

    #AB1F37

    oklch(48.5% 0.174 18.2)

  • #007054

    #007054

    oklch(48.4% 0.098 168)

  • #006889

    #006889

    oklch(48.4% 0.095 228.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1F37

    #AB1F37

    oklch(48.5% 0.174 18.2)

  • #2A7100

    #2A7100

    oklch(48.4% 0.15 138.3)

  • #0B59BE

    #0B59BE

    oklch(48.4% 0.173 258.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1F37

    #AB1F37

    oklch(48.5% 0.174 18.2)

  • #656300

    #656300

    oklch(48.6% 0.105 108.4)

  • #006D70

    #006D70

    oklch(48.5% 0.083 198.1)

  • #5F45B9

    #5F45B9

    oklch(48.4% 0.174 288.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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