#AB1F30

Closest named color: Brown (#A52A2A). oklch(48.3% 0.174 21.1), rgb(171, 31, 48).

Aa

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

About this color

#AB1F30 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.174 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.019 away. White text reads best on it, at 7.07:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text2.97:1
White text7.07:1

Values

HEX#AB1F30
RGBrgb(171, 31, 48)
HSLhsl(353, 69%, 40%)
OKLCHoklch(48.3% 0.174 21.1)

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 #AB1F30 7.07:1 AAA Lc -87.9 Fine for body text
Black text on #AB1F30 2.97:1 Fails Lc 21.2 Dividers and decoration only
#AB1F30 text on white 7.07:1 AAA Lc 82.9 Fine for body text
#AB1F30 text on black 2.97:1 Fails Lc -19.0 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

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CECC

    oklch(88.6% 0.047 21.4)

  4. Step 300

    300

    #F2ABA9

    oklch(80.8% 0.084 20.9)

  5. Step 400

    400

    #E87C7C

    oklch(70.7% 0.134 21)

  6. Step 500

    500

    #DE555A

    oklch(63.1% 0.171 21.3)

  7. Step 600

    600

    #C93240

    oklch(55.5% 0.187 21.1)

  8. Step 700

    700 (this color)

    #AB1F30

    oklch(48.3% 0.174 21.1)

  9. Step 800

    800

    #8D202A

    oklch(42.7% 0.144 21.2)

  10. Step 900

    900

    #712226

    oklch(37.7% 0.111 21.4)

  11. Step 950

    950

    #431517

    oklch(27% 0.071 20.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB1F30 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)#4B452F0.192
Deuteranopia (no green cones)#6E632B0.174
Tritanopia (no blue cones)#BC00270.034
Achromatopsia (no color)#5858580.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1F30

    #AB1F30

    oklch(48.3% 0.174 21.1)

  • #006C72

    #006C72

    oklch(48.3% 0.082 201.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1F30

    #AB1F30

    oklch(48.3% 0.174 21.1)

  • #A1226A

    #A1226A

    oklch(48.4% 0.174 351.3)

  • #944500

    #944500

    oklch(48.4% 0.126 51.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB1F30

    #AB1F30

    oklch(48.3% 0.174 21.1)

  • #006F57

    #006F57

    oklch(48.2% 0.094 171)

  • #00678B

    #00678B

    oklch(48.2% 0.097 231.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1F30

    #AB1F30

    oklch(48.3% 0.174 21.1)

  • #167300

    #167300

    oklch(48.4% 0.16 141.1)

  • #1D57BF

    #1D57BF

    oklch(48.4% 0.174 261.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1F30

    #AB1F30

    oklch(48.3% 0.174 21.1)

  • #626300

    #626300

    oklch(48.3% 0.106 110.5)

  • #006C72

    #006C72

    oklch(48.3% 0.082 201.5)

  • #6343B7

    #6343B7

    oklch(48.3% 0.174 291.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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