#831B23

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

Aa

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

About this color

#831B23 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.78:1.

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

Values

HEX#831B23
RGBrgb(131, 27, 35)
HSLhsl(355, 66%, 31%)
OKLCHoklch(40.3% 0.138 22.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 #831B23 9.78:1 AAA Lc -95.7 Preferred for body text
Black text on #831B23 2.14:1 Fails Lc 12.6 Not readable
#831B23 text on white 9.78:1 AAA Lc 91.4 Preferred for body text
#831B23 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

    #E67E7B

    oklch(70.7% 0.129 22.6)

  6. Step 500

    500

    #DB585A

    oklch(63.1% 0.165 22.2)

  7. Step 600

    600

    #C7373F

    oklch(55.6% 0.18 22.4)

  8. Step 700

    700

    #AB2831

    oklch(49.1% 0.167 22.6)

  9. Step 800

    800 (this color)

    #831B23

    oklch(40.3% 0.138 22.4)

  10. Step 900

    900

    #702426

    oklch(37.8% 0.108 22.4)

  11. Step 950

    950

    #421616

    oklch(27% 0.069 22.8)

Export this scale for Tailwind in the Tailwind colors tool

#831B23 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)#3A36220.152
Deuteranopia (no green cones)#544C200.139
Tritanopia (no blue cones)#91001F0.031
Achromatopsia (no color)#4444440.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B23

    #831B23

    oklch(40.3% 0.138 22.4)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B23

    #831B23

    oklch(40.3% 0.138 22.4)

  • #7C1C50

    #7C1C50

    oklch(40.3% 0.139 352.2)

  • #723500

    #723500

    oklch(40.3% 0.103 52.5)

Open the analogous palette in the generator

Split complementary

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

  • #831B23

    #831B23

    oklch(40.3% 0.138 22.4)

  • #005644

    #005644

    oklch(40.4% 0.078 172.3)

  • #004F6D

    #004F6D

    oklch(40.2% 0.083 232.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B23

    #831B23

    oklch(40.3% 0.138 22.4)

  • #015900

    #015900

    oklch(40.2% 0.137 142.4)

  • #1B4292

    #1B4292

    oklch(40.2% 0.14 262.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B23

    #831B23

    oklch(40.3% 0.138 22.4)

  • #4A4D00

    #4A4D00

    oklch(40.4% 0.09 112.3)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

  • #4D348B

    #4D348B

    oklch(40.3% 0.138 292.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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