#A5126E

Closest named color: Red Violet (#9E0168). oklch(48.3% 0.192 349.6), rgb(165, 18, 110).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.91:1
White text7.21:1

Values

HEX#A5126E
RGBrgb(165, 18, 110)
HSLhsl(322, 80%, 36%)
OKLCHoklch(48.3% 0.192 349.6)

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 #A5126E 7.21:1 AAA Lc -88.2 Fine for body text
Black text on #A5126E 2.91:1 Fails Lc 20.8 Dividers and decoration only
#A5126E text on white 7.21:1 AAA Lc 83.2 Fine for body text
#A5126E text on black 2.91:1 Fails Lc -18.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8C9

    oklch(80.9% 0.093 349.9)

  5. Step 400

    400

    #E377AE

    oklch(70.7% 0.147 349.7)

  6. Step 500

    500

    #D84D9A

    oklch(63.1% 0.19 349.7)

  7. Step 600

    600

    #C32885

    oklch(55.6% 0.206 349.5)

  8. Step 700

    700 (this color)

    #A5126E

    oklch(48.3% 0.192 349.6)

  9. Step 800

    800

    #88185C

    oklch(42.6% 0.159 349.2)

  10. Step 900

    900

    #6E1D4B

    oklch(37.7% 0.124 349.7)

  11. Step 950

    950

    #41132C

    oklch(27.1% 0.078 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#A5126E 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)#3247700.218
Deuteranopia (no green cones)#5C606B0.189
Tritanopia (no blue cones)#B200410.076
Achromatopsia (no color)#5757570.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5126E

    #A5126E

    oklch(48.3% 0.192 349.6)

  • #006F56

    #006F56

    oklch(48.2% 0.095 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5126E

    #A5126E

    oklch(48.3% 0.192 349.6)

  • #8A2AA0

    #8A2AA0

    oklch(48.3% 0.191 319.4)

  • #B1052E

    #B1052E

    oklch(48.3% 0.192 19.6)

Open the analogous palette in the generator

Split complementary

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

  • #A5126E

    #A5126E

    oklch(48.3% 0.192 349.6)

  • #227100

    #227100

    oklch(48.1% 0.154 139.6)

  • #006C70

    #006C70

    oklch(48.3% 0.082 199.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5126E

    #A5126E

    oklch(48.3% 0.192 349.6)

  • #636300

    #636300

    oklch(48.4% 0.105 109.8)

  • #00688A

    #00688A

    oklch(48.4% 0.096 229.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5126E

    #A5126E

    oklch(48.3% 0.192 349.6)

  • #7C5700

    #7C5700

    oklch(48.4% 0.1 80)

  • #006F56

    #006F56

    oklch(48.2% 0.095 170.2)

  • #0155C8

    #0155C8

    oklch(48.3% 0.192 259.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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