#870C04

Closest named color: Dark Red (#8B0000). oklch(39.7% 0.155 29.9), rgb(135, 12, 4).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.08:1
White text10.07:1

Values

HEX#870C04
RGBrgb(135, 12, 4)
HSLhsl(4, 94%, 27%)
OKLCHoklch(39.7% 0.155 29.9)

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 #870C04 10.07:1 AAA Lc -95.7 Preferred for body text
Black text on #870C04 2.08:1 Fails Lc 12.5 Not readable
#870C04 text on white 10.07:1 AAA Lc 91.4 Preferred for body text
#870C04 text on black 2.08:1 Fails Lc -10.9 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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FFE2DD

    oklch(93.5% 0.033 29.4)

  3. Step 200

    200

    #FFCBC2

    oklch(88.5% 0.061 29.7)

  4. Step 300

    300

    #FFA697

    oklch(81% 0.108 30.1)

  5. Step 400

    400

    #FF6A57

    oklch(70.7% 0.185 29.7)

  6. Step 500

    500

    #F92B1B

    oklch(63.2% 0.239 29.8)

  7. Step 600

    600

    #D70E00

    oklch(55.5% 0.223 29.9)

  8. Step 700

    700

    #B60A00

    oklch(49% 0.197 29.9)

  9. Step 800

    800

    #970600

    oklch(42.7% 0.172 29.8)

  10. Step 900

    900 (this color)

    #870C04

    oklch(39.7% 0.155 29.9)

  11. Step 950

    950

    #4C0904

    oklch(27.1% 0.098 30.2)

Export this scale for Tailwind in the Tailwind colors tool

#870C04 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)#3931010.168
Deuteranopia (no green cones)#554B000.151
Tritanopia (no blue cones)#96000D0.033
Achromatopsia (no color)#4242420.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #870C04

    #870C04

    oklch(39.7% 0.155 29.9)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #870C04

    #870C04

    oklch(39.7% 0.155 29.9)

  • #820844

    #820844

    oklch(39.7% 0.155 359.6)

  • #6A3800

    #6A3800

    oklch(39.6% 0.093 59.7)

Open the analogous palette in the generator

Split complementary

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

  • #870C04

    #870C04

    oklch(39.7% 0.155 29.9)

  • #005348

    #005348

    oklch(39.6% 0.072 179.9)

  • #004C72

    #004C72

    oklch(39.7% 0.09 239.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #870C04

    #870C04

    oklch(39.7% 0.155 29.9)

  • #005624

    #005624

    oklch(39.6% 0.109 150)

  • #293A99

    #293A99

    oklch(39.8% 0.156 269.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #870C04

    #870C04

    oklch(39.7% 0.155 29.9)

  • #414E00

    #414E00

    oklch(39.8% 0.095 120)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

  • #56298C

    #56298C

    oklch(39.8% 0.156 300.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #870C04 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.