#831B04

Closest named color: Dark Red (#8B0000). oklch(39.9% 0.142 33.3), rgb(131, 27, 4).

Aa

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

About this color

#831B04 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.142 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.024 away. White text reads best on it, at 9.88:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.12:1
White text9.88:1

Values

HEX#831B04
RGBrgb(131, 27, 4)
HSLhsl(11, 94%, 26%)
OKLCHoklch(39.9% 0.142 33.3)

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 #831B04 9.88:1 AAA Lc -95.8 Preferred for body text
Black text on #831B04 2.12:1 Fails Lc 12.4 Not readable
#831B04 text on white 9.88:1 AAA Lc 91.5 Preferred for body text
#831B04 text on black 2.12:1 Fails Lc -10.8 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 900.

  1. Step 50

    50

    #FFF2EF

    oklch(97.1% 0.015 33.1)

  2. Step 100

    100

    #FEE3DD

    oklch(93.6% 0.031 32.6)

  3. Step 200

    200

    #FECCC0

    oklch(88.6% 0.059 33.8)

  4. Step 300

    300

    #FEA794

    oklch(80.9% 0.107 32.9)

  5. Step 400

    400

    #F87256

    oklch(70.7% 0.17 33.3)

  6. Step 500

    500

    #F03F19

    oklch(63% 0.218 33.2)

  7. Step 600

    600

    #CF2B00

    oklch(55.5% 0.204 33.2)

  8. Step 700

    700

    #B02300

    oklch(49.2% 0.18 33.2)

  9. Step 800

    800

    #911B00

    oklch(42.6% 0.157 33.2)

  10. Step 900

    900 (this color)

    #831B04

    oklch(39.9% 0.142 33.3)

  11. Step 950

    950

    #490F04

    oklch(27.1% 0.09 33.5)

Export this scale for Tailwind in the Tailwind colors tool

#831B04 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)#3C34000.151
Deuteranopia (no green cones)#564B000.134
Tritanopia (no blue cones)#9100180.039
Achromatopsia (no color)#4343430.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B04

    #831B04

    oklch(39.9% 0.142 33.3)

  • #00515E

    #00515E

    oklch(40% 0.07 213.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B04

    #831B04

    oklch(39.9% 0.142 33.3)

  • #801640

    #801640

    oklch(40% 0.143 3.1)

  • #693B00

    #693B00

    oklch(40% 0.091 63.6)

Open the analogous palette in the generator

Split complementary

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

  • #831B04

    #831B04

    oklch(39.9% 0.142 33.3)

  • #00544B

    #00544B

    oklch(40% 0.071 182.6)

  • #004C77

    #004C77

    oklch(40% 0.097 242.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B04

    #831B04

    oklch(39.9% 0.142 33.3)

  • #00572C

    #00572C

    oklch(40.1% 0.102 153.4)

  • #323B92

    #323B92

    oklch(39.9% 0.142 273.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B04

    #831B04

    oklch(39.9% 0.142 33.3)

  • #3D4F00

    #3D4F00

    oklch(39.8% 0.098 123.3)

  • #00515E

    #00515E

    oklch(40% 0.07 213.1)

  • #582D85

    #582D85

    oklch(40% 0.142 302.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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