#831B2B

Closest named color: Red Wine (#8C0034). oklch(40.4% 0.138 18), rgb(131, 27, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.15:1
White text9.73:1

Values

HEX#831B2B
RGBrgb(131, 27, 43)
HSLhsl(351, 66%, 31%)
OKLCHoklch(40.4% 0.138 18)

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 #831B2B 9.73:1 AAA Lc -95.6 Preferred for body text
Black text on #831B2B 2.15:1 Fails Lc 12.7 Not readable
#831B2B text on white 9.73:1 AAA Lc 91.3 Preferred for body text
#831B2B text on black 2.15: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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #F9E4E4

    oklch(93.6% 0.023 17.6)

  3. Step 200

    200

    #F6CECE

    oklch(88.6% 0.045 18)

  4. Step 300

    300

    #F0ACAD

    oklch(80.9% 0.08 18)

  5. Step 400

    400

    #E67D82

    oklch(70.7% 0.13 17.9)

  6. Step 500

    500

    #DB5763

    oklch(63.1% 0.165 17.8)

  7. Step 600

    600

    #C6374A

    oklch(55.6% 0.179 18)

  8. Step 700

    700

    #AB273B

    oklch(49.2% 0.167 18)

  9. Step 800

    800 (this color)

    #831B2B

    oklch(40.4% 0.138 18)

  10. Step 900

    900

    #70232B

    oklch(37.7% 0.108 18)

  11. Step 950

    950

    #421619

    oklch(27.1% 0.068 18.8)

Export this scale for Tailwind in the Tailwind colors tool

#831B2B 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)#39362B0.153
Deuteranopia (no green cones)#534C280.140
Tritanopia (no blue cones)#9000220.030
Achromatopsia (no color)#4444440.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B2B

    #831B2B

    oklch(40.4% 0.138 18)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B2B

    #831B2B

    oklch(40.4% 0.138 18)

  • #7A1E56

    #7A1E56

    oklch(40.4% 0.139 347.7)

  • #763100

    #763100

    oklch(40.3% 0.11 47.7)

Open the analogous palette in the generator

Split complementary

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

  • #831B2B

    #831B2B

    oklch(40.4% 0.138 18)

  • #005640

    #005640

    oklch(40.3% 0.081 168.2)

  • #00506A

    #00506A

    oklch(40.3% 0.079 228.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B2B

    #831B2B

    oklch(40.4% 0.138 18)

  • #205700

    #205700

    oklch(40.4% 0.124 137.9)

  • #0C4591

    #0C4591

    oklch(40.4% 0.138 258)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B2B

    #831B2B

    oklch(40.4% 0.138 18)

  • #4E4C00

    #4E4C00

    oklch(40.5% 0.087 108)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

  • #48368D

    #48368D

    oklch(40.3% 0.138 288.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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