#A31D63

Closest named color: Deep Magenta (#A0025C). oklch(48.1% 0.177 354.9), rgb(163, 29, 99).

Aa

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

About this color

#A31D63 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.177 and its hue 355°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.023 away. White text reads best on it, at 7.20:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.91:1
White text7.20:1

Values

HEX#A31D63
RGBrgb(163, 29, 99)
HSLhsl(329, 70%, 38%)
OKLCHoklch(48.1% 0.177 354.9)

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 #A31D63 7.20:1 AAA Lc -88.5 Fine for body text
Black text on #A31D63 2.91:1 Fails Lc 20.5 Dividers and decoration only
#A31D63 text on white 7.20:1 AAA Lc 83.5 Fine for body text
#A31D63 text on black 2.91:1 Fails Lc -18.4 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F4CDDB

    oklch(88.5% 0.047 354.5)

  4. Step 300

    300

    #EEAAC3

    oklch(80.9% 0.086 355.4)

  5. Step 400

    400

    #E27AA5

    oklch(70.7% 0.137 355)

  6. Step 500

    500

    #D6538F

    oklch(63.1% 0.175 354.8)

  7. Step 600

    600

    #C13179

    oklch(55.5% 0.19 354.8)

  8. Step 700

    700 (this color)

    #A31D63

    oklch(48.1% 0.177 354.9)

  9. Step 800

    800

    #871F53

    oklch(42.7% 0.146 354.9)

  10. Step 900

    900

    #6D2145

    oklch(37.8% 0.114 354.7)

  11. Step 950

    950

    #401428

    oklch(26.9% 0.073 354.8)

Export this scale for Tailwind in the Tailwind colors tool

#A31D63 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)#3B48650.200
Deuteranopia (no green cones)#6060600.177
Tritanopia (no blue cones)#B0043E0.061
Achromatopsia (no color)#5757570.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31D63

    #A31D63

    oklch(48.1% 0.177 354.9)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31D63

    #A31D63

    oklch(48.1% 0.177 354.9)

  • #8C2D93

    #8C2D93

    oklch(48% 0.177 325)

  • #AC1C24

    #AC1C24

    oklch(48.2% 0.178 24.9)

Open the analogous palette in the generator

Split complementary

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

  • #A31D63

    #A31D63

    oklch(48.1% 0.177 354.9)

  • #00721B

    #00721B

    oklch(48% 0.151 144.9)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31D63

    #A31D63

    oklch(48.1% 0.177 354.9)

  • #5D6400

    #5D6400

    oklch(48.1% 0.108 114.5)

  • #00668F

    #00668F

    oklch(48.2% 0.102 235)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31D63

    #A31D63

    oklch(48.1% 0.177 354.9)

  • #775800

    #775800

    oklch(48% 0.098 84.7)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

  • #2A53C0

    #2A53C0

    oklch(48.1% 0.177 264.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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