#831F27

Closest named color: Dark Red (#8B0000). oklch(40.7% 0.134 21.5), rgb(131, 31, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.19:1
White text9.58:1

Values

HEX#831F27
RGBrgb(131, 31, 39)
HSLhsl(355, 62%, 32%)
OKLCHoklch(40.7% 0.134 21.5)

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 #831F27 9.58:1 AAA Lc -95.4 Preferred for body text
Black text on #831F27 2.19:1 Fails Lc 12.9 Not readable
#831F27 text on white 9.58:1 AAA Lc 91.0 Preferred for body text
#831F27 text on black 2.19:1 Fails Lc -11.3 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

    #F5CECC

    oklch(88.4% 0.044 21.5)

  4. Step 300

    300

    #EFADAA

    oklch(80.9% 0.078 21.9)

  5. Step 400

    400

    #E47F7E

    oklch(70.7% 0.125 21.3)

  6. Step 500

    500

    #D95A5D

    oklch(63.1% 0.16 21.5)

  7. Step 600

    600

    #C53A43

    oklch(55.6% 0.175 21.5)

  8. Step 700

    700

    #A92B35

    oklch(49% 0.162 21.5)

  9. Step 800

    800 (this color)

    #831F27

    oklch(40.7% 0.134 21.5)

  10. Step 900

    900

    #6F2528

    oklch(37.8% 0.105 21.3)

  11. Step 950

    950

    #411718

    oklch(27% 0.066 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#831F27 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)#3C37260.146
Deuteranopia (no green cones)#554D240.135
Tritanopia (no blue cones)#9000230.033
Achromatopsia (no color)#4545450.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #831F27

    #831F27

    oklch(40.7% 0.134 21.5)

  • #005459

    #005459

    oklch(40.6% 0.069 201.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831F27

    #831F27

    oklch(40.7% 0.134 21.5)

  • #7B2052

    #7B2052

    oklch(40.6% 0.135 351.1)

  • #743500

    #743500

    oklch(40.6% 0.105 51.6)

Open the analogous palette in the generator

Split complementary

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

  • #831F27

    #831F27

    oklch(40.7% 0.134 21.5)

  • #005744

    #005744

    oklch(40.7% 0.079 171.4)

  • #00516E

    #00516E

    oklch(40.8% 0.082 231)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831F27

    #831F27

    oklch(40.7% 0.134 21.5)

  • #0D5A01

    #0D5A01

    oklch(40.7% 0.134 141.4)

  • #1C4591

    #1C4591

    oklch(40.8% 0.134 261.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831F27

    #831F27

    oklch(40.7% 0.134 21.5)

  • #4C4E00

    #4C4E00

    oklch(40.8% 0.09 111.5)

  • #005459

    #005459

    oklch(40.6% 0.069 201.8)

  • #4D368B

    #4D368B

    oklch(40.7% 0.135 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 #831F27, closest first.

Similar named colors

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

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