#A31A5A

Closest named color: Violet Red (#A50055). oklch(47.6% 0.176 359.1), rgb(163, 26, 90).

Aa

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

About this color

#A31A5A is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.176 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.016 away. White text reads best on it, at 7.36:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.85:1
White text7.36:1

Values

HEX#A31A5A
RGBrgb(163, 26, 90)
HSLhsl(332, 72%, 37%)
OKLCHoklch(47.6% 0.176 359.1)

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 #A31A5A 7.36:1 AAA Lc -88.9 Fine for body text
Black text on #A31A5A 2.85:1 Fails Lc 20.1 Dividers and decoration only
#A31A5A text on white 7.36:1 AAA Lc 84.0 Fine for body text
#A31A5A text on black 2.85:1 Fails Lc -18.0 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CDD8

    oklch(88.6% 0.047 359.7)

  4. Step 300

    300

    #EFAABF

    oklch(80.9% 0.085 359.3)

  5. Step 400

    400

    #E47A9E

    oklch(70.8% 0.136 359.5)

  6. Step 500

    500

    #D85387

    oklch(63.1% 0.173 359)

  7. Step 600

    600

    #C33071

    oklch(55.5% 0.19 358.8)

  8. Step 700

    700 (this color)

    #A31A5A

    oklch(47.6% 0.176 359.1)

  9. Step 800

    800

    #891F4D

    oklch(42.8% 0.146 359.3)

  10. Step 900

    900

    #6E2040

    oklch(37.6% 0.114 359)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#A31A5A 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)#3C455B0.200
Deuteranopia (no green cones)#615F570.178
Tritanopia (no blue cones)#B100380.056
Achromatopsia (no color)#5656560.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31A5A

    #A31A5A

    oklch(47.6% 0.176 359.1)

  • #006C5D

    #006C5D

    oklch(47.6% 0.087 178.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31A5A

    #A31A5A

    oklch(47.6% 0.176 359.1)

  • #8E2A8B

    #8E2A8B

    oklch(47.6% 0.175 329.2)

  • #A91D15

    #A91D15

    oklch(47.5% 0.176 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #A31A5A

    #A31A5A

    oklch(47.6% 0.176 359.1)

  • #00702E

    #00702E

    oklch(47.6% 0.134 149.1)

  • #006975

    #006975

    oklch(47.7% 0.082 208.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31A5A

    #A31A5A

    oklch(47.6% 0.176 359.1)

  • #566400

    #566400

    oklch(47.5% 0.111 118.8)

  • #006392

    #006392

    oklch(47.6% 0.108 239.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31A5A

    #A31A5A

    oklch(47.6% 0.176 359.1)

  • #725900

    #725900

    oklch(47.6% 0.097 89.7)

  • #006C5D

    #006C5D

    oklch(47.6% 0.087 178.7)

  • #364FBE

    #364FBE

    oklch(47.7% 0.176 269)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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