#831B27

Closest named color: Wine Red (#7B0323). oklch(40.3% 0.138 20.2), rgb(131, 27, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.15:1
White text9.76:1

Values

HEX#831B27
RGBrgb(131, 27, 39)
HSLhsl(353, 66%, 31%)
OKLCHoklch(40.3% 0.138 20.2)

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 #831B27 9.76:1 AAA Lc -95.7 Preferred for body text
Black text on #831B27 2.15:1 Fails Lc 12.6 Not readable
#831B27 text on white 9.76:1 AAA Lc 91.3 Preferred for body text
#831B27 text on black 2.15: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

    #F6CECD

    oklch(88.5% 0.045 19.7)

  4. Step 300

    300

    #F0ACAB

    oklch(80.8% 0.08 19.9)

  5. Step 400

    400

    #E67D7E

    oklch(70.7% 0.13 20.3)

  6. Step 500

    500

    #DB585E

    oklch(63.1% 0.164 20.4)

  7. Step 600

    600

    #C63745

    oklch(55.5% 0.179 20)

  8. Step 700

    700

    #AB2736

    oklch(49.1% 0.167 20.2)

  9. Step 800

    800 (this color)

    #831B27

    oklch(40.3% 0.138 20.2)

  10. Step 900

    900

    #702428

    oklch(37.8% 0.107 20.9)

  11. Step 950

    950

    #421618

    oklch(27% 0.068 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#831B27 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)#3A36270.151
Deuteranopia (no green cones)#544C240.139
Tritanopia (no blue cones)#9000200.030
Achromatopsia (no color)#4444440.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B27

    #831B27

    oklch(40.3% 0.138 20.2)

  • #005357

    #005357

    oklch(40.2% 0.068 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B27

    #831B27

    oklch(40.3% 0.138 20.2)

  • #7B1D53

    #7B1D53

    oklch(40.4% 0.139 350)

  • #743300

    #743300

    oklch(40.3% 0.107 50)

Open the analogous palette in the generator

Split complementary

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

  • #831B27

    #831B27

    oklch(40.3% 0.138 20.2)

  • #005642

    #005642

    oklch(40.3% 0.08 170.2)

  • #00506C

    #00506C

    oklch(40.4% 0.081 230.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B27

    #831B27

    oklch(40.3% 0.138 20.2)

  • #155800

    #155800

    oklch(40.3% 0.13 140.2)

  • #154491

    #154491

    oklch(40.4% 0.137 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B27

    #831B27

    oklch(40.3% 0.138 20.2)

  • #4C4C00

    #4C4C00

    oklch(40.3% 0.088 109.8)

  • #005357

    #005357

    oklch(40.2% 0.068 200.4)

  • #4B358C

    #4B358C

    oklch(40.4% 0.138 290.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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