#AB0273

Closest named color: Red Violet (#9E0168). oklch(49.1% 0.205 348.7), rgb(171, 2, 115).

Aa

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

About this color

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

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

Values

HEX#AB0273
RGBrgb(171, 2, 115)
HSLhsl(320, 98%, 34%)
OKLCHoklch(49.1% 0.205 348.7)

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

    #F1A6CB

    oklch(80.8% 0.1 348.5)

  5. Step 400

    400

    #E673B1

    oklch(70.6% 0.158 348.4)

  6. Step 500

    500

    #DC479D

    oklch(63.2% 0.202 348.9)

  7. Step 600

    600

    #C71A88

    oklch(55.7% 0.22 348.7)

  8. Step 700

    700 (this color)

    #AB0273

    oklch(49.1% 0.205 348.7)

  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

#AB0273 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)#2E48750.235
Deuteranopia (no green cones)#5E62700.200
Tritanopia (no blue cones)#B800420.084
Achromatopsia (no color)#5959590.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB0273

    #AB0273

    oklch(49.1% 0.205 348.7)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB0273

    #AB0273

    oklch(49.1% 0.205 348.7)

  • #8E25A8

    #8E25A8

    oklch(49% 0.205 318.6)

  • #B50031

    #B50031

    oklch(49% 0.196 18.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB0273

    #AB0273

    oklch(49.1% 0.205 348.7)

  • #287300

    #287300

    oklch(48.9% 0.153 138.8)

  • #006F72

    #006F72

    oklch(49.2% 0.084 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB0273

    #AB0273

    oklch(49.1% 0.205 348.7)

  • #666500

    #666500

    oklch(49.1% 0.107 109.1)

  • #006A8C

    #006A8C

    oklch(49% 0.097 229.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB0273

    #AB0273

    oklch(49.1% 0.205 348.7)

  • #7F5800

    #7F5800

    oklch(49% 0.102 78.8)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

  • #0059C8

    #0059C8

    oklch(49.1% 0.188 258.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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