#AB303A

Closest named color: Brown (#A52A2A). oklch(50% 0.159 20.7), rgb(171, 48, 58).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.21:1
White text6.53:1

Values

HEX#AB303A
RGBrgb(171, 48, 58)
HSLhsl(355, 56%, 43%)
OKLCHoklch(50% 0.159 20.7)

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 #AB303A 6.53:1 AA Lc -86.4 Fine for body text
Black text on #AB303A 3.21:1 AA large text Lc 22.8 Dividers and decoration only
#AB303A text on white 6.53:1 AA Lc 81.2 Fine for body text
#AB303A text on black 3.21:1 AA large text Lc -20.6 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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F9E4E3

    oklch(93.5% 0.023 20.9)

  3. Step 200

    200

    #F4CFCD

    oklch(88.5% 0.042 21.6)

  4. Step 300

    300

    #EEADAB

    oklch(80.8% 0.077 20.9)

  5. Step 400

    400

    #E3807F

    oklch(70.8% 0.123 21.2)

  6. Step 500

    500

    #D85B5F

    oklch(63.1% 0.158 20.8)

  7. Step 600

    600

    #C33C46

    oklch(55.6% 0.171 20.7)

  8. Step 700

    700 (this color)

    #AB303A

    oklch(50% 0.159 20.7)

  9. Step 800

    800

    #88272E

    oklch(42.6% 0.131 20.8)

  10. Step 900

    900

    #6E2629

    oklch(37.7% 0.102 21)

  11. Step 950

    950

    #411718

    oklch(27% 0.066 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB303A 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)#524D390.173
Deuteranopia (no green cones)#7167360.159
Tritanopia (no blue cones)#BC06350.042
Achromatopsia (no color)#5E5E5E0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB303A

    #AB303A

    oklch(50% 0.159 20.7)

  • #007177

    #007177

    oklch(49.9% 0.085 201.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB303A

    #AB303A

    oklch(50% 0.159 20.7)

  • #A1326F

    #A1326F

    oklch(50% 0.158 350.5)

  • #9B4800

    #9B4800

    oklch(49.9% 0.13 50.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB303A

    #AB303A

    oklch(50% 0.159 20.7)

  • #00755B

    #00755B

    oklch(50% 0.099 170.4)

  • #006D91

    #006D91

    oklch(50.1% 0.1 229.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB303A

    #AB303A

    oklch(50% 0.159 20.7)

  • #207709

    #207709

    oklch(49.9% 0.158 140.7)

  • #285EBC

    #285EBC

    oklch(50% 0.159 260.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB303A

    #AB303A

    oklch(50% 0.159 20.7)

  • #676800

    #676800

    oklch(50% 0.109 110.4)

  • #007177

    #007177

    oklch(49.9% 0.085 201.3)

  • #664CB5

    #664CB5

    oklch(49.9% 0.159 290.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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