#AB0174

Closest named color: Red Violet (#9E0168). oklch(49.1% 0.206 348.3), rgb(171, 1, 116).

Aa

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

About this color

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

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

Values

HEX#AB0174
RGBrgb(171, 1, 116)
HSLhsl(319, 99%, 34%)
OKLCHoklch(49.1% 0.206 348.3)

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 #AB0174 7.02:1 AAA Lc -87.1 Fine for body text
Black text on #AB0174 2.98:1 Fails Lc 22.1 Dividers and decoration only
#AB0174 text on white 7.02:1 AAA Lc 82.0 Fine for body text
#AB0174 text on black 2.98:1 Fails Lc -19.9 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

    #FAE3ED

    oklch(93.7% 0.028 349.5)

  3. Step 200

    200

    #F6CBDF

    oklch(88.5% 0.055 348.6)

  4. Step 300

    300

    #F1A6CC

    oklch(80.8% 0.1 347.8)

  5. Step 400

    400

    #E673B1

    oklch(70.6% 0.158 348.4)

  6. Step 500

    500

    #DC469E

    oklch(63.1% 0.204 348.4)

  7. Step 600

    600

    #C71989

    oklch(55.7% 0.221 348.3)

  8. Step 700

    700 (this color)

    #AB0174

    oklch(49.1% 0.206 348.3)

  9. Step 800

    800

    #8B0E5E

    oklch(42.7% 0.17 348.6)

  10. Step 900

    900

    #70184D

    oklch(37.7% 0.133 348.5)

  11. Step 950

    950

    #42112D

    oklch(27.1% 0.083 348.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB0174 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)#2D48760.236
Deuteranopia (no green cones)#5D62710.202
Tritanopia (no blue cones)#B800420.086
Achromatopsia (no color)#5959590.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB0174

    #AB0174

    oklch(49.1% 0.206 348.3)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB0174

    #AB0174

    oklch(49.1% 0.206 348.3)

  • #8E25A9

    #8E25A9

    oklch(49% 0.206 318.3)

  • #B50032

    #B50032

    oklch(49% 0.196 18.3)

Open the analogous palette in the generator

Split complementary

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

  • #AB0174

    #AB0174

    oklch(49.1% 0.206 348.3)

  • #2B7300

    #2B7300

    oklch(49% 0.152 138.2)

  • #006F72

    #006F72

    oklch(49.2% 0.084 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB0174

    #AB0174

    oklch(49.1% 0.206 348.3)

  • #676400

    #676400

    oklch(49% 0.105 107.7)

  • #006A8B

    #006A8B

    oklch(49% 0.096 228.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB0174

    #AB0174

    oklch(49.1% 0.206 348.3)

  • #805800

    #805800

    oklch(49.1% 0.102 78.1)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

  • #005AC6

    #005AC6

    oklch(49.1% 0.184 258.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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