#871A26

Closest named color: Dark Red (#8B0000). oklch(41% 0.143 21), rgb(135, 26, 38).

Aa

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

About this color

#871A26 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.143 and its hue 21°. 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.51:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.20:1
White text9.51:1

Values

HEX#871A26
RGBrgb(135, 26, 38)
HSLhsl(353, 68%, 32%)
OKLCHoklch(41% 0.143 21)

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 #871A26 9.51:1 AAA Lc -95.0 Preferred for body text
Black text on #871A26 2.20:1 Fails Lc 13.3 Not readable
#871A26 text on white 9.51:1 AAA Lc 90.6 Preferred for body text
#871A26 text on black 2.20:1 Fails Lc -11.7 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

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CECC

    oklch(88.6% 0.047 21.4)

  4. Step 300

    300

    #F2ABA9

    oklch(80.8% 0.084 20.9)

  5. Step 400

    400

    #E87C7C

    oklch(70.7% 0.134 21)

  6. Step 500

    500

    #DE555B

    oklch(63.2% 0.171 20.9)

  7. Step 600

    600

    #C93341

    oklch(55.6% 0.186 20.9)

  8. Step 700

    700

    #AD2333

    oklch(49.1% 0.173 20.8)

  9. Step 800

    800 (this color)

    #871A26

    oklch(41% 0.143 21)

  10. Step 900

    900

    #712227

    oklch(37.7% 0.111 20.7)

  11. Step 950

    950

    #431517

    oklch(27% 0.071 20.7)

Export this scale for Tailwind in the Tailwind colors tool

#871A26 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)#3B37260.157
Deuteranopia (no green cones)#564E220.145
Tritanopia (no blue cones)#9500200.030
Achromatopsia (no color)#4545450.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #871A26

    #871A26

    oklch(41% 0.143 21)

  • #00555A

    #00555A

    oklch(40.9% 0.07 201.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871A26

    #871A26

    oklch(41% 0.143 21)

  • #7F1C54

    #7F1C54

    oklch(41% 0.144 350.8)

  • #763500

    #763500

    oklch(41% 0.107 50.8)

Open the analogous palette in the generator

Split complementary

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

  • #871A26

    #871A26

    oklch(41% 0.143 21)

  • #005844

    #005844

    oklch(41% 0.081 170.6)

  • #00526F

    #00526F

    oklch(41.1% 0.083 230.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871A26

    #871A26

    oklch(41% 0.143 21)

  • #105B00

    #105B00

    oklch(41.1% 0.135 141)

  • #174596

    #174596

    oklch(41% 0.142 260.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871A26

    #871A26

    oklch(41% 0.143 21)

  • #4D4E00

    #4D4E00

    oklch(40.9% 0.09 110.6)

  • #00555A

    #00555A

    oklch(40.9% 0.07 201.7)

  • #4D3590

    #4D3590

    oklch(40.9% 0.143 290.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #871A26 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.