#871021

Closest named color: Dark Red (#8B0000). oklch(40.2% 0.151 21.3), rgb(135, 16, 33).

Aa

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

About this color

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

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

Values

HEX#871021
RGBrgb(135, 16, 33)
HSLhsl(351, 79%, 30%)
OKLCHoklch(40.2% 0.151 21.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 #871021 9.87:1 AAA Lc -95.5 Preferred for body text
Black text on #871021 2.12:1 Fails Lc 12.8 Not readable
#871021 text on white 9.87:1 AAA Lc 91.2 Preferred for body text
#871021 text on black 2.12:1 Fails Lc -11.2 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

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F8CDCB

    oklch(88.5% 0.049 21.2)

  4. Step 300

    300

    #F4AAA8

    oklch(80.8% 0.088 20.9)

  5. Step 400

    400

    #EB7979

    oklch(70.6% 0.141 21.3)

  6. Step 500

    500

    #E15157

    oklch(63.1% 0.179 21.5)

  7. Step 600

    600

    #CD2C3D

    oklch(55.7% 0.195 21.3)

  8. Step 700

    700

    #B11B2F

    oklch(49.2% 0.182 21.4)

  9. Step 800

    800 (this color)

    #871021

    oklch(40.2% 0.151 21.3)

  10. Step 900

    900

    #731F25

    oklch(37.7% 0.117 20.9)

  11. Step 950

    950

    #441416

    oklch(27% 0.074 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#871021 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)#3833200.166
Deuteranopia (no green cones)#554C1D0.151
Tritanopia (no blue cones)#9500180.030
Achromatopsia (no color)#4343430.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #871021

    #871021

    oklch(40.2% 0.151 21.3)

  • #005357

    #005357

    oklch(40.2% 0.068 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871021

    #871021

    oklch(40.2% 0.151 21.3)

  • #7F1452

    #7F1452

    oklch(40.3% 0.151 351.2)

  • #733400

    #733400

    oklch(40.3% 0.105 51.2)

Open the analogous palette in the generator

Split complementary

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

  • #871021

    #871021

    oklch(40.2% 0.151 21.3)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

  • #004F6C

    #004F6C

    oklch(40.1% 0.081 231.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871021

    #871021

    oklch(40.2% 0.151 21.3)

  • #0D5800

    #0D5800

    oklch(40.1% 0.133 141.3)

  • #124198

    #124198

    oklch(40.2% 0.151 261.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871021

    #871021

    oklch(40.2% 0.151 21.3)

  • #4A4C00

    #4A4C00

    oklch(40.1% 0.088 111.5)

  • #005357

    #005357

    oklch(40.2% 0.068 200.4)

  • #4C3191

    #4C3191

    oklch(40.2% 0.15 291.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #871021 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.