#A31D51

Closest named color: Violet Red (#A50055). oklch(47.5% 0.171 4), rgb(163, 29, 81).

Aa

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

About this color

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

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

Values

HEX#A31D51
RGBrgb(163, 29, 81)
HSLhsl(337, 70%, 38%)
OKLCHoklch(47.5% 0.171 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 #A31D51 7.36:1 AAA Lc -89.0 Fine for body text
Black text on #A31D51 2.85:1 Fails Lc 20.0 Dividers and decoration only
#A31D51 text on white 7.36:1 AAA Lc 84.1 Fine for body text
#A31D51 text on black 2.85:1 Fails Lc -17.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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #EFABBA

    oklch(80.9% 0.082 4.5)

  5. Step 400

    400

    #E47B97

    oklch(70.7% 0.133 4)

  6. Step 500

    500

    #D9547E

    oklch(63.1% 0.17 3.8)

  7. Step 600

    600

    #C43367

    oklch(55.6% 0.184 3.9)

  8. Step 700

    700 (this color)

    #A31D51

    oklch(47.5% 0.171 4)

  9. Step 800

    800

    #892146

    oklch(42.8% 0.141 4.1)

  10. Step 900

    900

    #6E223B

    oklch(37.7% 0.11 3.8)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#A31D51 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)#4045520.194
Deuteranopia (no green cones)#645F4E0.173
Tritanopia (no blue cones)#B200350.048
Achromatopsia (no color)#5656560.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31D51

    #A31D51

    oklch(47.5% 0.171 4)

  • #006B61

    #006B61

    oklch(47.4% 0.084 183.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31D51

    #A31D51

    oklch(47.5% 0.171 4)

  • #912983

    #912983

    oklch(47.5% 0.172 333.9)

  • #A72400

    #A72400

    oklch(47.6% 0.171 33.9)

Open the analogous palette in the generator

Split complementary

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

  • #A31D51

    #A31D51

    oklch(47.5% 0.171 4)

  • #006F3B

    #006F3B

    oklch(47.5% 0.12 153.9)

  • #006879

    #006879

    oklch(47.6% 0.084 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31D51

    #A31D51

    oklch(47.5% 0.171 4)

  • #4F6600

    #4F6600

    oklch(47.4% 0.117 123.6)

  • #006198

    #006198

    oklch(47.4% 0.117 243.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31D51

    #A31D51

    oklch(47.5% 0.171 4)

  • #6E5A00

    #6E5A00

    oklch(47.4% 0.097 93.9)

  • #006B61

    #006B61

    oklch(47.4% 0.084 183.7)

  • #424CBA

    #424CBA

    oklch(47.4% 0.171 273.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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