#A31041

Closest named color: Cranberry (#9E003A). oklch(46.3% 0.177 10.4), rgb(163, 16, 65).

Aa

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

About this color

#A31041 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.177 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.017 away. White text reads best on it, at 7.75:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.70:1
White text7.75:1

Values

HEX#A31041
RGBrgb(163, 16, 65)
HSLhsl(340, 82%, 35%)
OKLCHoklch(46.3% 0.177 10.4)

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 #A31041 7.75:1 AAA Lc -89.9 Fine for body text
Black text on #A31041 2.70:1 Fails Lc 19.0 Dividers and decoration only
#A31041 text on white 7.75:1 AAA Lc 85.0 Fine for body text
#A31041 text on black 2.70:1 Fails Lc -17.0 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD2

    oklch(88.6% 0.048 10)

  4. Step 300

    300

    #F2AAB3

    oklch(80.9% 0.085 10.9)

  5. Step 400

    400

    #E87A8C

    oklch(70.8% 0.136 10.8)

  6. Step 500

    500

    #DD5270

    oklch(63.1% 0.174 10.5)

  7. Step 600

    600

    #C82E59

    oklch(55.5% 0.19 10.1)

  8. Step 700

    700 (this color)

    #A31041

    oklch(46.3% 0.177 10.4)

  9. Step 800

    800

    #8C1D3C

    oklch(42.7% 0.146 10.1)

  10. Step 900

    900

    #712033

    oklch(37.8% 0.114 10.6)

  11. Step 950

    950

    #43141E

    oklch(27.1% 0.073 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#A31041 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)#3F40420.200
Deuteranopia (no green cones)#645D3D0.181
Tritanopia (no blue cones)#B300280.045
Achromatopsia (no color)#5252520.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A31041

    #A31041

    oklch(46.3% 0.177 10.4)

  • #006763

    #006763

    oklch(46.4% 0.08 190.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A31041

    #A31041

    oklch(46.3% 0.177 10.4)

  • #941E76

    #941E76

    oklch(46.4% 0.177 340.7)

  • #983300

    #983300

    oklch(46.4% 0.144 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #A31041

    #A31041

    oklch(46.3% 0.177 10.4)

  • #006A45

    #006A45

    oklch(46.3% 0.104 160.7)

  • #00637A

    #00637A

    oklch(46.3% 0.085 221)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A31041

    #A31041

    oklch(46.3% 0.177 10.4)

  • #406600

    #406600

    oklch(46.4% 0.126 130.4)

  • #005A9F

    #005A9F

    oklch(46.2% 0.133 250.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A31041

    #A31041

    oklch(46.3% 0.177 10.4)

  • #655A00

    #655A00

    oklch(46.4% 0.097 101.1)

  • #006763

    #006763

    oklch(46.4% 0.08 190.1)

  • #4C43B7

    #4C43B7

    oklch(46.3% 0.176 280.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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