#A31F6A

Closest named color: Red Violet (#9E0168). oklch(48.5% 0.179 351.6), rgb(163, 31, 106).

Aa

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

About this color

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

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

Values

HEX#A31F6A
RGBrgb(163, 31, 106)
HSLhsl(326, 68%, 38%)
OKLCHoklch(48.5% 0.179 351.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 #A31F6A 7.09:1 AAA Lc -88.2 Fine for body text
Black text on #A31F6A 2.96:1 Fails Lc 20.9 Dividers and decoration only
#A31F6A text on white 7.09:1 AAA Lc 83.1 Fine for body text
#A31F6A text on black 2.96:1 Fails Lc -18.8 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

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F3CDDD

    oklch(88.5% 0.047 350.9)

  4. Step 300

    300

    #EDAAC7

    oklch(80.9% 0.087 351.5)

  5. Step 400

    400

    #E17AAA

    oklch(70.8% 0.138 351.9)

  6. Step 500

    500

    #D55395

    oklch(63.1% 0.177 351.8)

  7. Step 600

    600

    #C03180

    oklch(55.6% 0.192 351.5)

  8. Step 700

    700 (this color)

    #A31F6A

    oklch(48.5% 0.179 351.6)

  9. Step 800

    800

    #861F58

    oklch(42.7% 0.148 351.5)

  10. Step 900

    900

    #6C2148

    oklch(37.7% 0.115 351.9)

  11. Step 950

    950

    #40142A

    oklch(27% 0.074 352.1)

Export this scale for Tailwind in the Tailwind colors tool

#A31F6A 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)#39496C0.201
Deuteranopia (no green cones)#5F61670.177
Tritanopia (no blue cones)#B010420.066
Achromatopsia (no color)#5858580.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31F6A

    #A31F6A

    oklch(48.5% 0.179 351.6)

  • #007058

    #007058

    oklch(48.5% 0.095 171.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31F6A

    #A31F6A

    oklch(48.5% 0.179 351.6)

  • #8A309A

    #8A309A

    oklch(48.5% 0.178 321.3)

  • #AD1B2E

    #AD1B2E

    oklch(48.4% 0.179 21.4)

Open the analogous palette in the generator

Split complementary

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

  • #A31F6A

    #A31F6A

    oklch(48.5% 0.179 351.6)

  • #107400

    #107400

    oklch(48.6% 0.162 141.6)

  • #006C73

    #006C73

    oklch(48.4% 0.082 202.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31F6A

    #A31F6A

    oklch(48.5% 0.179 351.6)

  • #616400

    #616400

    oklch(48.4% 0.107 111.8)

  • #00688D

    #00688D

    oklch(48.6% 0.099 231.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31F6A

    #A31F6A

    oklch(48.5% 0.179 351.6)

  • #7B5800

    #7B5800

    oklch(48.5% 0.1 81.7)

  • #007058

    #007058

    oklch(48.5% 0.095 171.2)

  • #1E56C2

    #1E56C2

    oklch(48.5% 0.179 261.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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