#AB1A6B

Closest named color: Deep Magenta (#A0025C). oklch(49.6% 0.189 353.2), rgb(171, 26, 107).

Aa

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

About this color

#AB1A6B is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.189 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.036 away. White text reads best on it, at 6.79:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text3.09:1
White text6.79:1

Values

HEX#AB1A6B
RGBrgb(171, 26, 107)
HSLhsl(326, 74%, 39%)
OKLCHoklch(49.6% 0.189 353.2)

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 #AB1A6B 6.79:1 AA Lc -86.9 Fine for body text
Black text on #AB1A6B 3.09:1 AA large text Lc 22.3 Dividers and decoration only
#AB1A6B text on white 6.79:1 AA Lc 81.8 Fine for body text
#AB1A6B text on black 3.09:1 AA large text Lc -20.1 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

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDC

    oklch(88.5% 0.05 352.8)

  4. Step 300

    300

    #F0A8C5

    oklch(80.9% 0.092 353.5)

  5. Step 400

    400

    #E577A8

    oklch(70.8% 0.146 353.4)

  6. Step 500

    500

    #D94E93

    oklch(63.1% 0.186 353)

  7. Step 600

    600

    #C4287D

    oklch(55.5% 0.203 353.1)

  8. Step 700

    700 (this color)

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  9. Step 800

    800

    #891956

    oklch(42.6% 0.156 353)

  10. Step 900

    900

    #6F1D47

    oklch(37.7% 0.122 353.2)

  11. Step 950

    950

    #41132A

    oklch(27% 0.077 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#AB1A6B 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)#3A4A6D0.214
Deuteranopia (no green cones)#6364680.188
Tritanopia (no blue cones)#B900420.068
Achromatopsia (no color)#5B5B5B0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB1A6B

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  • #00735D

    #00735D

    oklch(49.5% 0.095 173.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB1A6B

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  • #922E9E

    #922E9E

    oklch(49.7% 0.188 323.2)

  • #B51629

    #B51629

    oklch(49.6% 0.189 23)

Open the analogous palette in the generator

Split complementary

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

  • #AB1A6B

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  • #00780B

    #00780B

    oklch(49.7% 0.165 143.1)

  • #007078

    #007078

    oklch(49.7% 0.085 203.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB1A6B

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  • #636800

    #636800

    oklch(49.6% 0.111 113)

  • #006B93

    #006B93

    oklch(49.7% 0.103 233.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB1A6B

    #AB1A6B

    oklch(49.6% 0.189 353.2)

  • #7E5C00

    #7E5C00

    oklch(49.7% 0.102 83.4)

  • #00735D

    #00735D

    oklch(49.5% 0.095 173.3)

  • #2357CB

    #2357CB

    oklch(49.6% 0.189 263.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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