#AB007A

Closest named color: Red Violet (#9E0168). oklch(49.3% 0.209 345.8), rgb(171, 0, 122).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.01:1
White text6.97:1

Values

HEX#AB007A
RGBrgb(171, 0, 122)
HSLhsl(317, 100%, 34%)
OKLCHoklch(49.3% 0.209 345.8)

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 #AB007A 6.97:1 AA Lc -86.8 Fine for body text
Black text on #AB007A 3.01:1 AA large text Lc 22.3 Dividers and decoration only
#AB007A text on white 6.97:1 AA Lc 81.7 Fine for body text
#AB007A text on black 3.01:1 AA large text Lc -20.2 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E2EE

    oklch(93.5% 0.03 344.8)

  3. Step 200

    200

    #F6CBE1

    oklch(88.5% 0.056 346.1)

  4. Step 300

    300

    #F1A6CF

    oklch(80.9% 0.102 345.7)

  5. Step 400

    400

    #E672B6

    oklch(70.7% 0.163 345.9)

  6. Step 500

    500

    #DB46A4

    oklch(63.2% 0.207 345.8)

  7. Step 600

    600

    #C6178F

    oklch(55.7% 0.225 345.8)

  8. Step 700

    700 (this color)

    #AB007A

    oklch(49.3% 0.209 345.8)

  9. Step 800

    800

    #8A0C63

    oklch(42.7% 0.173 345.6)

  10. Step 900

    900

    #6F1851

    oklch(37.7% 0.134 345.4)

  11. Step 950

    950

    #42102F

    oklch(27% 0.086 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB007A 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)#29497C0.240
Deuteranopia (no green cones)#5B62770.203
Tritanopia (no blue cones)#B800460.090
Achromatopsia (no color)#5959590.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB007A

    #AB007A

    oklch(49.3% 0.209 345.8)

  • #007353

    #007353

    oklch(49.2% 0.103 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB007A

    #AB007A

    oklch(49.3% 0.209 345.8)

  • #8D26AF

    #8D26AF

    oklch(49.4% 0.21 315.9)

  • #B60039

    #B60039

    oklch(49.3% 0.197 15.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB007A

    #AB007A

    oklch(49.3% 0.209 345.8)

  • #367200

    #367200

    oklch(49.2% 0.146 135.8)

  • #007071

    #007071

    oklch(49.4% 0.084 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB007A

    #AB007A

    oklch(49.3% 0.209 345.8)

  • #6A6400

    #6A6400

    oklch(49.3% 0.105 105.5)

  • #006C8A

    #006C8A

    oklch(49.5% 0.094 225.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB007A

    #AB007A

    oklch(49.3% 0.209 345.8)

  • #835800

    #835800

    oklch(49.5% 0.104 76)

  • #007353

    #007353

    oklch(49.2% 0.103 165.6)

  • #005EBD

    #005EBD

    oklch(49.3% 0.167 255.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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