#AB313E

Closest named color: Brown (#A52A2A). oklch(50.2% 0.157 19.1), rgb(171, 49, 62).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.24:1
White text6.48:1

Values

HEX#AB313E
RGBrgb(171, 49, 62)
HSLhsl(354, 55%, 43%)
OKLCHoklch(50.2% 0.157 19.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 #AB313E 6.48:1 AA Lc -86.2 Fine for body text
Black text on #AB313E 3.24:1 AA large text Lc 23.0 Dividers and decoration only
#AB313E text on white 6.48:1 AA Lc 81.0 Fine for body text
#AB313E text on black 3.24:1 AA large text Lc -20.8 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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F8E4E4

    oklch(93.5% 0.022 17.6)

  3. Step 200

    200

    #F4CFCE

    oklch(88.6% 0.042 19.8)

  4. Step 300

    300

    #EEADAD

    oklch(80.8% 0.077 18.9)

  5. Step 400

    400

    #E28082

    oklch(70.7% 0.121 19.3)

  6. Step 500

    500

    #D75B63

    oklch(63% 0.156 18.9)

  7. Step 600

    600

    #C23D4A

    oklch(55.6% 0.169 19.1)

  8. Step 700

    700 (this color)

    #AB313E

    oklch(50.2% 0.157 19.1)

  9. Step 800

    800

    #882831

    oklch(42.8% 0.13 19.4)

  10. Step 900

    900

    #6D262B

    oklch(37.6% 0.101 19.3)

  11. Step 950

    950

    #40171A

    oklch(26.9% 0.064 18)

Export this scale for Tailwind in the Tailwind colors tool

#AB313E 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)#524E3E0.172
Deuteranopia (no green cones)#71673B0.157
Tritanopia (no blue cones)#BC0C370.041
Achromatopsia (no color)#5E5E5E0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB313E

    #AB313E

    oklch(50.2% 0.157 19.1)

  • #007276

    #007276

    oklch(50.1% 0.085 199.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB313E

    #AB313E

    oklch(50.2% 0.157 19.1)

  • #A03371

    #A03371

    oklch(50% 0.157 349.2)

  • #9E4700

    #9E4700

    oklch(50.2% 0.134 49.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB313E

    #AB313E

    oklch(50.2% 0.157 19.1)

  • #00765A

    #00765A

    oklch(50.3% 0.101 169)

  • #006D90

    #006D90

    oklch(50% 0.099 229.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB313E

    #AB313E

    oklch(50.2% 0.157 19.1)

  • #287702

    #287702

    oklch(50.1% 0.157 139.1)

  • #2460BB

    #2460BB

    oklch(50.2% 0.156 258.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB313E

    #AB313E

    oklch(50.2% 0.157 19.1)

  • #696800

    #696800

    oklch(50.2% 0.109 109.1)

  • #007276

    #007276

    oklch(50.1% 0.085 199.1)

  • #644EB6

    #644EB6

    oklch(50.1% 0.158 289.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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