#831D21

Closest named color: Dark Red (#8B0000). oklch(40.4% 0.137 24), rgb(131, 29, 33).

Aa

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

About this color

#831D21 is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.137 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.031 away. White text reads best on it, at 9.70:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.16:1
White text9.70:1

Values

HEX#831D21
RGBrgb(131, 29, 33)
HSLhsl(358, 64%, 31%)
OKLCHoklch(40.4% 0.137 24)

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 #831D21 9.70:1 AAA Lc -95.6 Preferred for body text
Black text on #831D21 2.16:1 Fails Lc 12.7 Not readable
#831D21 text on white 9.70:1 AAA Lc 91.2 Preferred for body text
#831D21 text on black 2.16:1 Fails Lc -11.1 Not readable

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 800.

  1. Step 50

    50

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #F9E4E2

    oklch(93.5% 0.023 24.1)

  3. Step 200

    200

    #F5CECB

    oklch(88.4% 0.044 23.2)

  4. Step 300

    300

    #F0ADA8

    oklch(80.9% 0.08 23.8)

  5. Step 400

    400

    #E57E79

    oklch(70.6% 0.128 23.7)

  6. Step 500

    500

    #DB5957

    oklch(63.1% 0.164 23.9)

  7. Step 600

    600

    #C6393C

    oklch(55.6% 0.178 24)

  8. Step 700

    700

    #AB2A2E

    oklch(49.2% 0.165 24.3)

  9. Step 800

    800 (this color)

    #831D21

    oklch(40.4% 0.137 24)

  10. Step 900

    900

    #6F2424

    oklch(37.5% 0.107 23.8)

  11. Step 950

    950

    #421716

    oklch(27.1% 0.067 23.9)

Export this scale for Tailwind in the Tailwind colors tool

#831D21 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)#3B36200.149
Deuteranopia (no green cones)#554C1D0.136
Tritanopia (no blue cones)#9100200.033
Achromatopsia (no color)#4444440.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #831D21

    #831D21

    oklch(40.4% 0.137 24)

  • #00535A

    #00535A

    oklch(40.3% 0.069 204.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831D21

    #831D21

    oklch(40.4% 0.137 24)

  • #7C1D4E

    #7C1D4E

    oklch(40.3% 0.137 353.7)

  • #713600

    #713600

    oklch(40.3% 0.101 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #831D21

    #831D21

    oklch(40.4% 0.137 24)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

  • #004F6F

    #004F6F

    oklch(40.3% 0.085 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831D21

    #831D21

    oklch(40.4% 0.137 24)

  • #00590D

    #00590D

    oklch(40.3% 0.131 144)

  • #214291

    #214291

    oklch(40.3% 0.136 264.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831D21

    #831D21

    oklch(40.4% 0.137 24)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #00535A

    #00535A

    oklch(40.3% 0.069 204.7)

  • #4F348A

    #4F348A

    oklch(40.4% 0.137 293.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #831D21 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.