#AB056A

Closest named color: Red Violet (#9E0168). oklch(48.8% 0.199 352.7), rgb(171, 5, 106).

Aa

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

About this color

#AB056A is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.199 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.029 away. White text reads best on it, at 7.09:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.199)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.96:1
White text7.09:1

Values

HEX#AB056A
RGBrgb(171, 5, 106)
HSLhsl(323, 94%, 35%)
OKLCHoklch(48.8% 0.199 352.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 #AB056A 7.09:1 AAA Lc -87.4 Fine for body text
Black text on #AB056A 2.96:1 Fails Lc 21.7 Dividers and decoration only
#AB056A text on white 7.09:1 AAA Lc 82.3 Fine for body text
#AB056A text on black 2.96:1 Fails Lc -19.6 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EB

    oklch(93.7% 0.027 354.5)

  3. Step 200

    200

    #F7CBDC

    oklch(88.5% 0.054 353.1)

  4. Step 300

    300

    #F2A7C6

    oklch(80.9% 0.096 353)

  5. Step 400

    400

    #E774A9

    oklch(70.6% 0.153 352.8)

  6. Step 500

    500

    #DD4894

    oklch(63.1% 0.198 352.8)

  7. Step 600

    600

    #C81E7F

    oklch(55.7% 0.214 352.6)

  8. Step 700

    700 (this color)

    #AB056A

    oklch(48.8% 0.199 352.7)

  9. Step 800

    800

    #8C1157

    oklch(42.7% 0.165 352.8)

  10. Step 900

    900

    #711A48

    oklch(37.8% 0.128 352.8)

  11. Step 950

    950

    #42112A

    oklch(26.9% 0.081 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB056A 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)#34466C0.228
Deuteranopia (no green cones)#6062670.199
Tritanopia (no blue cones)#B9003D0.077
Achromatopsia (no color)#5858580.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB056A

    #AB056A

    oklch(48.8% 0.199 352.7)

  • #00715A

    #00715A

    oklch(48.9% 0.095 172.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB056A

    #AB056A

    oklch(48.8% 0.199 352.7)

  • #91259F

    #91259F

    oklch(48.8% 0.199 322.8)

  • #B50025

    #B50025

    oklch(48.8% 0.197 22.5)

Open the analogous palette in the generator

Split complementary

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

  • #AB056A

    #AB056A

    oklch(48.8% 0.199 352.7)

  • #007503

    #007503

    oklch(48.7% 0.165 142.7)

  • #006D74

    #006D74

    oklch(48.7% 0.083 202.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB056A

    #AB056A

    oklch(48.8% 0.199 352.7)

  • #616500

    #616500

    oklch(48.7% 0.108 112.5)

  • #00688F

    #00688F

    oklch(48.7% 0.101 233.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB056A

    #AB056A

    oklch(48.8% 0.199 352.7)

  • #7B5900

    #7B5900

    oklch(48.7% 0.1 82.7)

  • #00715A

    #00715A

    oklch(48.9% 0.095 172.2)

  • #1A53CE

    #1A53CE

    oklch(48.8% 0.199 262.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AB056A.

Similar named colors

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

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