#AB3840

Closest named color: Brown (#A52A2A). oklch(51% 0.15 20.3), rgb(171, 56, 64).

Aa

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

About this color

#AB3840 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.150 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.034 away. White text reads best on it, at 6.22:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.37:1
White text6.22:1

Values

HEX#AB3840
RGBrgb(171, 56, 64)
HSLhsl(356, 51%, 45%)
OKLCHoklch(51% 0.15 20.3)

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 #AB3840 6.22:1 AA Lc -85.3 Fine for body text
Black text on #AB3840 3.37:1 AA large text Lc 24.0 Dividers and decoration only
#AB3840 text on white 6.22:1 AA Lc 80.1 Fine for body text
#AB3840 text on black 3.37:1 AA large text Lc -21.7 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

    #F8E5E4

    oklch(93.7% 0.021 21.2)

  3. Step 200

    200

    #F3CFCE

    oklch(88.5% 0.041 19.8)

  4. Step 300

    300

    #ECAEAD

    oklch(80.8% 0.073 19.8)

  5. Step 400

    400

    #E08282

    oklch(70.8% 0.116 20.4)

  6. Step 500

    500

    #D45F63

    oklch(63.1% 0.148 20.2)

  7. Step 600

    600

    #BF414A

    oklch(55.5% 0.161 20.1)

  8. Step 700

    700 (this color)

    #AB3840

    oklch(51% 0.15 20.3)

  9. Step 800

    800

    #862B31

    oklch(42.8% 0.124 20.4)

  10. Step 900

    900

    #6C282B

    oklch(37.7% 0.097 20.4)

  11. Step 950

    950

    #3F1819

    oklch(26.8% 0.061 20.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB3840 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)#56513F0.163
Deuteranopia (no green cones)#736A3D0.151
Tritanopia (no blue cones)#BB1D3C0.040
Achromatopsia (no color)#6161610.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB3840

    #AB3840

    oklch(51% 0.15 20.3)

  • #00747A

    #00747A

    oklch(50.8% 0.086 201.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB3840

    #AB3840

    oklch(51% 0.15 20.3)

  • #A13971

    #A13971

    oklch(50.9% 0.15 350.4)

  • #A04A00

    #A04A00

    oklch(51% 0.134 50.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB3840

    #AB3840

    oklch(51% 0.15 20.3)

  • #00785D

    #00785D

    oklch(50.9% 0.101 170.1)

  • #007095

    #007095

    oklch(51.1% 0.102 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB3840

    #AB3840

    oklch(51% 0.15 20.3)

  • #2B7918

    #2B7918

    oklch(50.9% 0.15 140.3)

  • #2E62BA

    #2E62BA

    oklch(50.9% 0.15 260.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB3840

    #AB3840

    oklch(51% 0.15 20.3)

  • #6A6B00

    #6A6B00

    oklch(51% 0.112 110.4)

  • #00747A

    #00747A

    oklch(50.8% 0.086 201.1)

  • #6852B4

    #6852B4

    oklch(51.1% 0.149 290.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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