#A31B72

Closest named color: Red Violet (#9E0168). oklch(48.6% 0.186 347.6), rgb(163, 27, 114).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.95:1
White text7.10:1

Values

HEX#A31B72
RGBrgb(163, 27, 114)
HSLhsl(322, 72%, 37%)
OKLCHoklch(48.6% 0.186 347.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 #A31B72 7.10:1 AAA Lc -88.1 Fine for body text
Black text on #A31B72 2.95:1 Fails Lc 21.0 Dividers and decoration only
#A31B72 text on white 7.10:1 AAA Lc 83.1 Fine for body text
#A31B72 text on black 2.95:1 Fails Lc -18.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CCDF

    oklch(88.4% 0.05 347.3)

  4. Step 300

    300

    #EDA9CB

    oklch(80.9% 0.09 347.9)

  5. Step 400

    400

    #E078B1

    oklch(70.6% 0.145 347.4)

  6. Step 500

    500

    #D4519E

    oklch(63.1% 0.183 347.3)

  7. Step 600

    600

    #C02D88

    oklch(55.6% 0.201 347.8)

  8. Step 700

    700 (this color)

    #A31B72

    oklch(48.6% 0.186 347.6)

  9. Step 800

    800

    #861C5E

    oklch(42.7% 0.155 347.6)

  10. Step 900

    900

    #6C1F4D

    oklch(37.7% 0.12 347.6)

  11. Step 950

    950

    #40142D

    oklch(27.1% 0.076 348.2)

Export this scale for Tailwind in the Tailwind colors tool

#A31B72 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)#3349740.210
Deuteranopia (no green cones)#5B606F0.182
Tritanopia (no blue cones)#AF13460.074
Achromatopsia (no color)#5858580.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31B72

    #A31B72

    oklch(48.6% 0.186 347.6)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31B72

    #A31B72

    oklch(48.6% 0.186 347.6)

  • #882FA2

    #882FA2

    oklch(48.6% 0.186 317.5)

  • #B01135

    #B01135

    oklch(48.6% 0.186 17.8)

Open the analogous palette in the generator

Split complementary

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

  • #A31B72

    #A31B72

    oklch(48.6% 0.186 347.6)

  • #2D7100

    #2D7100

    oklch(48.5% 0.149 137.7)

  • #006D70

    #006D70

    oklch(48.5% 0.083 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31B72

    #A31B72

    oklch(48.6% 0.186 347.6)

  • #666300

    #666300

    oklch(48.7% 0.105 107.7)

  • #006989

    #006989

    oklch(48.6% 0.095 227.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31B72

    #A31B72

    oklch(48.6% 0.186 347.6)

  • #7E5600

    #7E5600

    oklch(48.4% 0.101 77.5)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

  • #005AC0

    #005AC0

    oklch(48.7% 0.176 257.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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