#A31D40

Closest named color: Rouge (#AB1239). oklch(47% 0.168 12.6), rgb(163, 29, 64).

Aa

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

About this color

#A31D40 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.168 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.018 away. White text reads best on it, at 7.48:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.80:1
White text7.48:1

Values

HEX#A31D40
RGBrgb(163, 29, 64)
HSLhsl(344, 70%, 38%)
OKLCHoklch(47% 0.168 12.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 #A31D40 7.48:1 AAA Lc -89.4 Fine for body text
Black text on #A31D40 2.80:1 Fails Lc 19.6 Dividers and decoration only
#A31D40 text on white 7.48:1 AAA Lc 84.4 Fine for body text
#A31D40 text on black 2.80:1 Fails Lc -17.5 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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #F9E4E5

    oklch(93.6% 0.023 14.3)

  3. Step 200

    200

    #F5CED1

    oklch(88.5% 0.044 12.8)

  4. Step 300

    300

    #F0ABB2

    oklch(80.8% 0.082 12.3)

  5. Step 400

    400

    #E57C8A

    oklch(70.7% 0.13 12.5)

  6. Step 500

    500

    #DA566D

    oklch(63.1% 0.166 12.6)

  7. Step 600

    600

    #C63555

    oklch(55.7% 0.181 12.8)

  8. Step 700

    700 (this color)

    #A31D40

    oklch(47% 0.168 12.6)

  9. Step 800

    800

    #8A2239

    oklch(42.7% 0.139 12.8)

  10. Step 900

    900

    #6F2331

    oklch(37.7% 0.107 13)

  11. Step 950

    950

    #42151D

    oklch(27% 0.07 12.3)

Export this scale for Tailwind in the Tailwind colors tool

#A31D40 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)#4443400.189
Deuteranopia (no green cones)#665F3C0.173
Tritanopia (no blue cones)#B3002D0.038
Achromatopsia (no color)#5555550.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31D40

    #A31D40

    oklch(47% 0.168 12.6)

  • #006967

    #006967

    oklch(47.1% 0.081 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31D40

    #A31D40

    oklch(47% 0.168 12.6)

  • #952574

    #952574

    oklch(47% 0.168 342.4)

  • #983800

    #983800

    oklch(47.1% 0.14 42.7)

Open the analogous palette in the generator

Split complementary

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

  • #A31D40

    #A31D40

    oklch(47% 0.168 12.6)

  • #006C49

    #006C49

    oklch(47% 0.102 162.4)

  • #00657E

    #00657E

    oklch(47% 0.087 222.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31D40

    #A31D40

    oklch(47% 0.168 12.6)

  • #3C6900

    #3C6900

    oklch(47% 0.132 132.6)

  • #005BA8

    #005BA8

    oklch(47.1% 0.143 252.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31D40

    #A31D40

    oklch(47% 0.168 12.6)

  • #665C00

    #665C00

    oklch(47% 0.098 102.1)

  • #006967

    #006967

    oklch(47.1% 0.081 192.5)

  • #5246B4

    #5246B4

    oklch(47.1% 0.168 282.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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