#A31B5E

Closest named color: Violet Red (#A50055). oklch(47.8% 0.177 357.2), rgb(163, 27, 94).

Aa

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

About this color

#A31B5E is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.177 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.019 away. White text reads best on it, at 7.30:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.87:1
White text7.30:1

Values

HEX#A31B5E
RGBrgb(163, 27, 94)
HSLhsl(330, 72%, 37%)
OKLCHoklch(47.8% 0.177 357.2)

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 #A31B5E 7.30:1 AAA Lc -88.8 Fine for body text
Black text on #A31B5E 2.87:1 Fails Lc 20.2 Dividers and decoration only
#A31B5E text on white 7.30:1 AAA Lc 83.8 Fine for body text
#A31B5E text on black 2.87: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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #EFAAC1

    oklch(81% 0.086 357.5)

  5. Step 400

    400

    #E37AA1

    oklch(70.8% 0.136 357.6)

  6. Step 500

    500

    #D8538B

    oklch(63.2% 0.175 357.2)

  7. Step 600

    600

    #C33074

    oklch(55.6% 0.191 357.4)

  8. Step 700

    700 (this color)

    #A31B5E

    oklch(47.8% 0.177 357.2)

  9. Step 800

    800

    #881F50

    oklch(42.7% 0.146 357.1)

  10. Step 900

    900

    #6E2042

    oklch(37.7% 0.115 357.3)

  11. Step 950

    950

    #411427

    oklch(27% 0.073 356.9)

Export this scale for Tailwind in the Tailwind colors tool

#A31B5E 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)#3B46600.201
Deuteranopia (no green cones)#615F5B0.177
Tritanopia (no blue cones)#B1003B0.058
Achromatopsia (no color)#5656560.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31B5E

    #A31B5E

    oklch(47.8% 0.177 357.2)

  • #006D5C

    #006D5C

    oklch(47.8% 0.089 176.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31B5E

    #A31B5E

    oklch(47.8% 0.177 357.2)

  • #8D2B8F

    #8D2B8F

    oklch(47.7% 0.177 327.1)

  • #AA1C1C

    #AA1C1C

    oklch(47.7% 0.177 27.2)

Open the analogous palette in the generator

Split complementary

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

  • #A31B5E

    #A31B5E

    oklch(47.8% 0.177 357.2)

  • #007127

    #007127

    oklch(47.8% 0.141 147.2)

  • #006A74

    #006A74

    oklch(47.9% 0.082 206.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31B5E

    #A31B5E

    oklch(47.8% 0.177 357.2)

  • #596400

    #596400

    oklch(47.7% 0.11 117)

  • #006490

    #006490

    oklch(47.7% 0.105 237.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31B5E

    #A31B5E

    oklch(47.8% 0.177 357.2)

  • #745800

    #745800

    oklch(47.6% 0.097 87.1)

  • #006D5C

    #006D5C

    oklch(47.8% 0.089 176.9)

  • #3150BF

    #3150BF

    oklch(47.7% 0.178 267.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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