#AB1A52

Closest named color: Raspberry (#B00149). oklch(48.8% 0.18 5), rgb(171, 26, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.00:1
White text6.99:1

Values

HEX#AB1A52
RGBrgb(171, 26, 82)
HSLhsl(337, 74%, 39%)
OKLCHoklch(48.8% 0.18 5)

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 #AB1A52 6.99:1 AA Lc -87.6 Fine for body text
Black text on #AB1A52 3.00:1 AA large text Lc 21.5 Dividers and decoration only
#AB1A52 text on white 6.99:1 AA Lc 82.5 Fine for body text
#AB1A52 text on black 3.00: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F6CDD5

    oklch(88.6% 0.047 4.9)

  4. Step 300

    300

    #F2A9B9

    oklch(80.9% 0.088 4.8)

  5. Step 400

    400

    #E77895

    oklch(70.6% 0.14 4.7)

  6. Step 500

    500

    #DD507B

    oklch(63.2% 0.179 5)

  7. Step 600

    600

    #C82C64

    oklch(55.7% 0.194 5.1)

  8. Step 700

    700 (this color)

    #AB1A52

    oklch(48.8% 0.18 5)

  9. Step 800

    800

    #8C1B44

    oklch(42.7% 0.15 4.9)

  10. Step 900

    900

    #711F39

    oklch(37.8% 0.116 5.4)

  11. Step 950

    950

    #421422

    oklch(27% 0.073 4.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB1A52 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)#4347530.203
Deuteranopia (no green cones)#68634F0.183
Tritanopia (no blue cones)#BB00340.051
Achromatopsia (no color)#5959590.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1A52

    #AB1A52

    oklch(48.8% 0.18 5)

  • #006F66

    #006F66

    oklch(48.7% 0.086 185.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1A52

    #AB1A52

    oklch(48.8% 0.18 5)

  • #982887

    #982887

    oklch(48.7% 0.18 334.9)

  • #AB2900

    #AB2900

    oklch(48.7% 0.172 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB1A52

    #AB1A52

    oklch(48.8% 0.18 5)

  • #007340

    #007340

    oklch(48.8% 0.121 155)

  • #006C7E

    #006C7E

    oklch(48.9% 0.086 214.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1A52

    #AB1A52

    oklch(48.8% 0.18 5)

  • #506B00

    #506B00

    oklch(48.8% 0.123 125.1)

  • #0064A0

    #0064A0

    oklch(48.7% 0.123 245.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1A52

    #AB1A52

    oklch(48.8% 0.18 5)

  • #725E00

    #725E00

    oklch(48.7% 0.1 94.4)

  • #006F66

    #006F66

    oklch(48.7% 0.086 185.1)

  • #474EC3

    #474EC3

    oklch(48.9% 0.18 275)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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