#AB046F

Closest named color: Red Violet (#9E0168). oklch(48.9% 0.202 350.5), rgb(171, 4, 111).

Aa

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

About this color

#AB046F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.202 and its hue 350°. 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.05:1.

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

Values

HEX#AB046F
RGBrgb(171, 4, 111)
HSLhsl(322, 95%, 34%)
OKLCHoklch(48.9% 0.202 350.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 #AB046F 7.05:1 AAA Lc -87.2 Fine for body text
Black text on #AB046F 2.97:1 Fails Lc 21.9 Dividers and decoration only
#AB046F text on white 7.05:1 AAA Lc 82.2 Fine for body text
#AB046F text on black 2.97:1 Fails Lc -19.7 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

    #FAE3EC

    oklch(93.7% 0.028 352)

  3. Step 200

    200

    #F6CBDE

    oklch(88.4% 0.054 349.9)

  4. Step 300

    300

    #F1A7C9

    oklch(80.9% 0.097 350.3)

  5. Step 400

    400

    #E773AD

    oklch(70.6% 0.157 350.6)

  6. Step 500

    500

    #DC4899

    oklch(63.1% 0.199 350.6)

  7. Step 600

    600

    #C71C84

    oklch(55.6% 0.217 350.3)

  8. Step 700

    700 (this color)

    #AB046F

    oklch(48.9% 0.202 350.5)

  9. Step 800

    800

    #8B105B

    oklch(42.7% 0.167 350.3)

  10. Step 900

    900

    #70194B

    oklch(37.7% 0.13 350)

  11. Step 950

    950

    #42112C

    oklch(27% 0.082 350)

Export this scale for Tailwind in the Tailwind colors tool

#AB046F 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)#3147710.231
Deuteranopia (no green cones)#5F626C0.199
Tritanopia (no blue cones)#B900400.081
Achromatopsia (no color)#5959590.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB046F

    #AB046F

    oklch(48.9% 0.202 350.5)

  • #007158

    #007158

    oklch(48.8% 0.096 170.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB046F

    #AB046F

    oklch(48.9% 0.202 350.5)

  • #9025A4

    #9025A4

    oklch(49% 0.202 320.7)

  • #B5002C

    #B5002C

    oklch(48.9% 0.196 20.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB046F

    #AB046F

    oklch(48.9% 0.202 350.5)

  • #1C7400

    #1C7400

    oklch(48.9% 0.159 140.5)

  • #006E73

    #006E73

    oklch(48.9% 0.083 200.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB046F

    #AB046F

    oklch(48.9% 0.202 350.5)

  • #646500

    #646500

    oklch(49% 0.107 110.5)

  • #00698D

    #00698D

    oklch(48.8% 0.098 230.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB046F

    #AB046F

    oklch(48.9% 0.202 350.5)

  • #7E5900

    #7E5900

    oklch(49% 0.101 80.5)

  • #007158

    #007158

    oklch(48.8% 0.096 170.5)

  • #0355D0

    #0355D0

    oklch(49% 0.202 260.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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