#78171F

Closest named color: Wine Red (#7B0323). oklch(37.7% 0.131 22.3), rgb(120, 23, 31).

Aa

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

About this color

#78171F is a dark, moderately saturated red. In OKLCH its lightness is 38%, its chroma 0.131 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.021 away. White text reads best on it, at 10.81:1.

Hue familyReds
Lightnessdark (38%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text1.94:1
White text10.81:1

Values

HEX#78171F
RGBrgb(120, 23, 31)
HSLhsl(355, 68%, 28%)
OKLCHoklch(37.7% 0.131 22.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 #78171F 10.81:1 AAA Lc -97.8 Preferred for body text
Black text on #78171F 1.94:1 Fails Lc 10.2 Not readable
#78171F text on white 10.81:1 AAA Lc 93.8 Preferred for body text
#78171F text on black 1.94:1 Fails Lc -8.8 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #FAA7A4

    oklch(80.9% 0.099 21.8)

  5. Step 400

    400

    #F37473

    oklch(70.8% 0.157 22.3)

  6. Step 500

    500

    #EA454E

    oklch(63.1% 0.201 22.2)

  7. Step 600

    600

    #D51132

    oklch(55.6% 0.218 22.2)

  8. Step 700

    700

    #B60026

    oklch(49% 0.198 22.3)

  9. Step 800

    800

    #950720

    oklch(42.6% 0.168 22)

  10. Step 900

    900 (this color)

    #78171F

    oklch(37.7% 0.131 22.3)

  11. Step 950

    950

    #471013

    oklch(27% 0.083 21.8)

Export this scale for Tailwind in the Tailwind colors tool

#78171F 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)#34301E0.144
Deuteranopia (no green cones)#4D451C0.131
Tritanopia (no blue cones)#85001B0.029
Achromatopsia (no color)#3D3D3D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #78171F

    #78171F

    oklch(37.7% 0.131 22.3)

  • #004B50

    #004B50

    oklch(37.6% 0.064 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #78171F

    #78171F

    oklch(37.7% 0.131 22.3)

  • #711848

    #711848

    oklch(37.6% 0.131 352.5)

  • #682F00

    #682F00

    oklch(37.6% 0.097 51.8)

Open the analogous palette in the generator

Split complementary

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

  • #78171F

    #78171F

    oklch(37.7% 0.131 22.3)

  • #004E3D

    #004E3D

    oklch(37.8% 0.073 171.8)

  • #004863

    #004863

    oklch(37.7% 0.077 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #78171F

    #78171F

    oklch(37.7% 0.131 22.3)

  • #025100

    #025100

    oklch(37.7% 0.128 142.3)

  • #173C86

    #173C86

    oklch(37.7% 0.131 262.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #78171F

    #78171F

    oklch(37.7% 0.131 22.3)

  • #434600

    #434600

    oklch(37.9% 0.084 112.5)

  • #004B50

    #004B50

    oklch(37.6% 0.064 202.5)

  • #462E7F

    #462E7F

    oklch(37.6% 0.131 292.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #78171F 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.