#AB2152

Closest named color: Raspberry (#B00149). oklch(49.2% 0.175 5.9), rgb(171, 33, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.07:1
White text6.83:1

Values

HEX#AB2152
RGBrgb(171, 33, 82)
HSLhsl(339, 68%, 40%)
OKLCHoklch(49.2% 0.175 5.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 #AB2152 6.83:1 AA Lc -87.2 Fine for body text
Black text on #AB2152 3.07:1 AA large text Lc 21.9 Dividers and decoration only
#AB2152 text on white 6.83:1 AA Lc 82.1 Fine for body text
#AB2152 text on black 3.07:1 AA large text Lc -19.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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E3E7

    oklch(93.5% 0.025 5.1)

  3. Step 200

    200

    #F6CDD4

    oklch(88.5% 0.047 6.5)

  4. Step 300

    300

    #F1AAB8

    oklch(80.9% 0.085 6.1)

  5. Step 400

    400

    #E67A94

    oklch(70.8% 0.136 5.8)

  6. Step 500

    500

    #DB537A

    oklch(63.2% 0.173 5.8)

  7. Step 600

    600

    #C63063

    oklch(55.6% 0.188 5.7)

  8. Step 700

    700 (this color)

    #AB2152

    oklch(49.2% 0.175 5.9)

  9. Step 800

    800

    #8B1E43

    oklch(42.8% 0.146 5.9)

  10. Step 900

    900

    #702038

    oklch(37.7% 0.114 6.2)

  11. Step 950

    950

    #421421

    oklch(27% 0.072 5.9)

Export this scale for Tailwind in the Tailwind colors tool

#AB2152 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)#4649530.196
Deuteranopia (no green cones)#6A644F0.177
Tritanopia (no blue cones)#BB00370.047
Achromatopsia (no color)#5B5B5B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB2152

    #AB2152

    oklch(49.2% 0.175 5.9)

  • #007168

    #007168

    oklch(49.3% 0.087 185.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB2152

    #AB2152

    oklch(49.2% 0.175 5.9)

  • #992C86

    #992C86

    oklch(49.2% 0.175 335.8)

  • #AC2D00

    #AC2D00

    oklch(49.3% 0.17 35.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB2152

    #AB2152

    oklch(49.2% 0.175 5.9)

  • #007443

    #007443

    oklch(49.1% 0.119 156.1)

  • #006D80

    #006D80

    oklch(49.2% 0.087 215.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB2152

    #AB2152

    oklch(49.2% 0.175 5.9)

  • #506D00

    #506D00

    oklch(49.4% 0.125 125.8)

  • #0065A3

    #0065A3

    oklch(49.1% 0.126 245.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB2152

    #AB2152

    oklch(49.2% 0.175 5.9)

  • #726000

    #726000

    oklch(49.2% 0.101 96.3)

  • #007168

    #007168

    oklch(49.3% 0.087 185.3)

  • #4A50C1

    #4A50C1

    oklch(49.3% 0.174 275.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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