#AB242E

Closest named color: Brown (#A52A2A). oklch(48.7% 0.17 22.9), rgb(171, 36, 46).

Aa

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

About this color

#AB242E is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.170 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.015 away. White text reads best on it, at 6.94:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text3.02:1
White text6.94:1

Values

HEX#AB242E
RGBrgb(171, 36, 46)
HSLhsl(356, 65%, 41%)
OKLCHoklch(48.7% 0.17 22.9)

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 #AB242E 6.94:1 AA Lc -87.6 Fine for body text
Black text on #AB242E 3.02:1 AA large text Lc 21.5 Dividers and decoration only
#AB242E text on white 6.94:1 AA Lc 82.6 Fine for body text
#AB242E text on black 3.02:1 AA large text Lc -19.4 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

    #FAE4E2

    oklch(93.6% 0.024 23.9)

  3. Step 200

    200

    #F6CECB

    oklch(88.5% 0.046 23.1)

  4. Step 300

    300

    #F1ACA8

    oklch(80.9% 0.082 22.8)

  5. Step 400

    400

    #E77D7A

    oklch(70.7% 0.131 22.6)

  6. Step 500

    500

    #DD5758

    oklch(63.2% 0.168 22.8)

  7. Step 600

    600

    #C8353D

    oklch(55.6% 0.183 22.8)

  8. Step 700

    700 (this color)

    #AB242E

    oklch(48.7% 0.17 22.9)

  9. Step 800

    800

    #8C2228

    oklch(42.7% 0.141 22.7)

  10. Step 900

    900

    #712325

    oklch(37.8% 0.11 22.7)

  11. Step 950

    950

    #421616

    oklch(27% 0.069 22.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB242E 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)#4D472D0.187
Deuteranopia (no green cones)#6F64290.170
Tritanopia (no blue cones)#BC00290.036
Achromatopsia (no color)#5A5A5A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB242E

    #AB242E

    oklch(48.7% 0.17 22.9)

  • #006D74

    #006D74

    oklch(48.7% 0.083 202.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB242E

    #AB242E

    oklch(48.7% 0.17 22.9)

  • #A22668

    #A22668

    oklch(48.8% 0.17 353)

  • #944700

    #944700

    oklch(48.7% 0.124 52.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB242E

    #AB242E

    oklch(48.7% 0.17 22.9)

  • #00705A

    #00705A

    oklch(48.6% 0.093 172.9)

  • #00688F

    #00688F

    oklch(48.7% 0.101 233.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB242E

    #AB242E

    oklch(48.7% 0.17 22.9)

  • #007506

    #007506

    oklch(48.8% 0.164 142.9)

  • #2757BE

    #2757BE

    oklch(48.6% 0.171 262.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB242E

    #AB242E

    oklch(48.7% 0.17 22.9)

  • #616500

    #616500

    oklch(48.7% 0.108 112.5)

  • #006D74

    #006D74

    oklch(48.7% 0.083 202.6)

  • #6644B5

    #6644B5

    oklch(48.6% 0.171 292.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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