#A31A62

Closest named color: Deep Magenta (#A0025C). oklch(47.9% 0.179 355.1), rgb(163, 26, 98).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.88:1
White text7.28:1

Values

HEX#A31A62
RGBrgb(163, 26, 98)
HSLhsl(328, 72%, 37%)
OKLCHoklch(47.9% 0.179 355.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 #A31A62 7.28:1 AAA Lc -88.7 Fine for body text
Black text on #A31A62 2.88:1 Fails Lc 20.3 Dividers and decoration only
#A31A62 text on white 7.28:1 AAA Lc 83.7 Fine for body text
#A31A62 text on black 2.88:1 Fails Lc -18.2 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

    #F9E3EB

    oklch(93.6% 0.026 353.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

    #E379A5

    oklch(70.7% 0.14 355)

  6. Step 500

    500

    #D7528F

    oklch(63.1% 0.177 354.9)

  7. Step 600

    600

    #C22F79

    oklch(55.5% 0.193 354.9)

  8. Step 700

    700 (this color)

    #A31A62

    oklch(47.9% 0.179 355.1)

  9. Step 800

    800

    #881E53

    oklch(42.7% 0.148 355.1)

  10. Step 900

    900

    #6D2044

    oklch(37.6% 0.115 355.3)

  11. Step 950

    950

    #411428

    oklch(27.1% 0.074 355.6)

Export this scale for Tailwind in the Tailwind colors tool

#A31A62 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)#3A47640.202
Deuteranopia (no green cones)#5F5F5F0.179
Tritanopia (no blue cones)#B1003D0.062
Achromatopsia (no color)#5656560.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31A62

    #A31A62

    oklch(47.9% 0.179 355.1)

  • #006D5A

    #006D5A

    oklch(47.7% 0.09 175.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31A62

    #A31A62

    oklch(47.9% 0.179 355.1)

  • #8C2B93

    #8C2B93

    oklch(47.8% 0.179 325)

  • #AB1922

    #AB1922

    oklch(47.8% 0.179 25)

Open the analogous palette in the generator

Split complementary

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

  • #A31A62

    #A31A62

    oklch(47.9% 0.179 355.1)

  • #00721C

    #00721C

    oklch(48% 0.151 145.1)

  • #006A73

    #006A73

    oklch(47.8% 0.082 205)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31A62

    #A31A62

    oklch(47.9% 0.179 355.1)

  • #5C6400

    #5C6400

    oklch(48% 0.109 115.1)

  • #00658E

    #00658E

    oklch(47.9% 0.102 235.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31A62

    #A31A62

    oklch(47.9% 0.179 355.1)

  • #765800

    #765800

    oklch(47.9% 0.098 85.5)

  • #006D5A

    #006D5A

    oklch(47.7% 0.09 175.1)

  • #2A52C0

    #2A52C0

    oklch(47.9% 0.179 265)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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