#AB0474

Closest named color: Red Violet (#9E0168). oklch(49.2% 0.204 348.4), rgb(171, 4, 116).

Aa

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

About this color

#AB0474 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.204 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 6.99:1.

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

Values

HEX#AB0474
RGBrgb(171, 4, 116)
HSLhsl(320, 95%, 34%)
OKLCHoklch(49.2% 0.204 348.4)

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 #AB0474 6.99:1 AA Lc -87.0 Fine for body text
Black text on #AB0474 3.00:1 AA large text Lc 22.1 Dividers and decoration only
#AB0474 text on white 6.99:1 AA Lc 82.0 Fine for body text
#AB0474 text on black 3.00:1 AA large text 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

    #F1A7CB

    oklch(81% 0.098 348.8)

  5. Step 400

    400

    #E673B1

    oklch(70.6% 0.158 348.4)

  6. Step 500

    500

    #DB479E

    oklch(63.1% 0.202 348.2)

  7. Step 600

    600

    #C61B89

    oklch(55.6% 0.22 348.1)

  8. Step 700

    700 (this color)

    #AB0474

    oklch(49.2% 0.204 348.4)

  9. Step 800

    800

    #8B0F5E

    oklch(42.7% 0.169 348.6)

  10. Step 900

    900

    #70194D

    oklch(37.8% 0.132 348.7)

  11. Step 950

    950

    #42112D

    oklch(27.1% 0.083 348.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB0474 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)#2E48760.234
Deuteranopia (no green cones)#5E62710.199
Tritanopia (no blue cones)#B800430.084
Achromatopsia (no color)#5959590.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB0474

    #AB0474

    oklch(49.2% 0.204 348.4)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB0474

    #AB0474

    oklch(49.2% 0.204 348.4)

  • #8E26A9

    #8E26A9

    oklch(49.1% 0.205 318.2)

  • #B60032

    #B60032

    oklch(49.2% 0.197 18.4)

Open the analogous palette in the generator

Split complementary

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

  • #AB0474

    #AB0474

    oklch(49.2% 0.204 348.4)

  • #2B7400

    #2B7400

    oklch(49.3% 0.153 138.3)

  • #006F72

    #006F72

    oklch(49.2% 0.084 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB0474

    #AB0474

    oklch(49.2% 0.204 348.4)

  • #676500

    #676500

    oklch(49.2% 0.106 108.4)

  • #006B8C

    #006B8C

    oklch(49.3% 0.096 228.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB0474

    #AB0474

    oklch(49.2% 0.204 348.4)

  • #805800

    #805800

    oklch(49.1% 0.102 78.1)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

  • #005AC7

    #005AC7

    oklch(49.2% 0.185 258.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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