#AB2A5F

Closest named color: Raspberry (#B00149). oklch(50.3% 0.17 0.7), rgb(171, 42, 95).

Aa

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

About this color

#AB2A5F is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.170 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.039 away. White text reads best on it, at 6.50:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.22:1
White text6.50:1

Values

HEX#AB2A5F
RGBrgb(171, 42, 95)
HSLhsl(335, 61%, 42%)
OKLCHoklch(50.3% 0.17 0.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 #AB2A5F 6.50:1 AA Lc -86.2 Fine for body text
Black text on #AB2A5F 3.22:1 AA large text Lc 23.0 Dividers and decoration only
#AB2A5F text on white 6.50:1 AA Lc 81.0 Fine for body text
#AB2A5F text on black 3.22: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F4CDD7

    oklch(88.4% 0.046 0.9)

  4. Step 300

    300

    #EEABBE

    oklch(81% 0.082 0.5)

  5. Step 400

    400

    #E27B9C

    oklch(70.6% 0.132 0.6)

  6. Step 500

    500

    #D75584

    oklch(63.1% 0.169 0.7)

  7. Step 600

    600

    #C2356E

    oklch(55.7% 0.182 0.6)

  8. Step 700

    700 (this color)

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  9. Step 800

    800

    #87224B

    oklch(42.7% 0.14 0.5)

  10. Step 900

    900

    #6D223E

    oklch(37.6% 0.11 0.9)

  11. Step 950

    950

    #401525

    oklch(26.9% 0.07 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB2A5F 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)#474E600.191
Deuteranopia (no green cones)#6A675C0.172
Tritanopia (no blue cones)#BA13410.051
Achromatopsia (no color)#5E5E5E0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2A5F

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  • #007567

    #007567

    oklch(50.4% 0.091 180.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2A5F

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  • #973590

    #973590

    oklch(50.3% 0.17 330.7)

  • #B02E1E

    #B02E1E

    oklch(50.3% 0.169 30.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB2A5F

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  • #007938

    #007938

    oklch(50.4% 0.136 150.8)

  • #007180

    #007180

    oklch(50.3% 0.087 210.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2A5F

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  • #5B6E00

    #5B6E00

    oklch(50.4% 0.121 120.8)

  • #006BA0

    #006BA0

    oklch(50.4% 0.117 240.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2A5F

    #AB2A5F

    oklch(50.3% 0.17 0.7)

  • #7A6100

    #7A6100

    oklch(50.3% 0.103 91.1)

  • #007567

    #007567

    oklch(50.4% 0.091 180.7)

  • #4257C3

    #4257C3

    oklch(50.2% 0.17 270.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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