#831B24

Closest named color: Dark Red (#8B0000). oklch(40.3% 0.138 21.8), rgb(131, 27, 36).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.14:1
White text9.77:1

Values

HEX#831B24
RGBrgb(131, 27, 36)
HSLhsl(355, 66%, 31%)
OKLCHoklch(40.3% 0.138 21.8)

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 #831B24 9.77:1 AAA Lc -95.7 Preferred for body text
Black text on #831B24 2.14:1 Fails Lc 12.6 Not readable
#831B24 text on white 9.77:1 AAA Lc 91.4 Preferred for body text
#831B24 text on black 2.14:1 Fails Lc -11.0 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

    #F9E4E3

    oklch(93.5% 0.023 20.9)

  3. Step 200

    200

    #F6CECC

    oklch(88.5% 0.045 21.4)

  4. Step 300

    300

    #F1ACA9

    oklch(80.9% 0.082 21.8)

  5. Step 400

    400

    #E67E7C

    oklch(70.8% 0.129 22)

  6. Step 500

    500

    #DB585B

    oklch(63.1% 0.165 21.7)

  7. Step 600

    600

    #C73741

    oklch(55.6% 0.18 21.7)

  8. Step 700

    700

    #AB2833

    oklch(49.1% 0.167 21.7)

  9. Step 800

    800 (this color)

    #831B24

    oklch(40.3% 0.138 21.8)

  10. Step 900

    900

    #702426

    oklch(37.8% 0.108 22.4)

  11. Step 950

    950

    #421617

    oklch(27% 0.069 21.5)

Export this scale for Tailwind in the Tailwind colors tool

#831B24 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)#3A36230.152
Deuteranopia (no green cones)#544C210.139
Tritanopia (no blue cones)#90001F0.030
Achromatopsia (no color)#4444440.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B24

    #831B24

    oklch(40.3% 0.138 21.8)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B24

    #831B24

    oklch(40.3% 0.138 21.8)

  • #7B1D50

    #7B1D50

    oklch(40.2% 0.137 351.9)

  • #723400

    #723400

    oklch(40.1% 0.104 51.6)

Open the analogous palette in the generator

Split complementary

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

  • #831B24

    #831B24

    oklch(40.3% 0.138 21.8)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

  • #004F6D

    #004F6D

    oklch(40.2% 0.083 232.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B24

    #831B24

    oklch(40.3% 0.138 21.8)

  • #075900

    #075900

    oklch(40.3% 0.135 141.9)

  • #1A4392

    #1A4392

    oklch(40.4% 0.139 261.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B24

    #831B24

    oklch(40.3% 0.138 21.8)

  • #4A4D00

    #4A4D00

    oklch(40.4% 0.09 112.3)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

  • #4C348B

    #4C348B

    oklch(40.2% 0.138 291.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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