#7A171D

Closest named color: Wine Red (#7B0323). oklch(38.1% 0.133 23.5), rgb(122, 23, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (38%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text1.96:1
White text10.67:1

Values

HEX#7A171D
RGBrgb(122, 23, 29)
HSLhsl(356, 68%, 28%)
OKLCHoklch(38.1% 0.133 23.5)

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 #7A171D 10.67:1 AAA Lc -97.5 Preferred for body text
Black text on #7A171D 1.96:1 Fails Lc 10.5 Not readable
#7A171D text on white 10.67:1 AAA Lc 93.4 Preferred for body text
#7A171D text on black 1.96:1 Fails Lc -9.1 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

    #FCCCC8

    oklch(88.6% 0.055 23.8)

  4. Step 300

    300

    #FBA7A2

    oklch(80.9% 0.1 23.3)

  5. Step 400

    400

    #F4736F

    oklch(70.7% 0.16 23.8)

  6. Step 500

    500

    #EB4449

    oklch(63.1% 0.203 23.7)

  7. Step 600

    600

    #D7092B

    oklch(55.7% 0.222 23.6)

  8. Step 700

    700

    #B70022

    oklch(49.2% 0.199 23.5)

  9. Step 800

    800

    #97031B

    oklch(42.8% 0.171 23.5)

  10. Step 900

    900 (this color)

    #7A171D

    oklch(38.1% 0.133 23.5)

  11. Step 950

    950

    #471011

    oklch(27% 0.084 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#7A171D 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)#35311C0.146
Deuteranopia (no green cones)#4E46190.133
Tritanopia (no blue cones)#87001A0.029
Achromatopsia (no color)#3E3E3E0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A171D

    #7A171D

    oklch(38.1% 0.133 23.5)

  • #004C52

    #004C52

    oklch(38% 0.065 203.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A171D

    #7A171D

    oklch(38.1% 0.133 23.5)

  • #731848

    #731848

    oklch(38% 0.132 353.3)

  • #683100

    #683100

    oklch(38% 0.096 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #7A171D

    #7A171D

    oklch(38.1% 0.133 23.5)

  • #004F3F

    #004F3F

    oklch(38.1% 0.073 173.1)

  • #004966

    #004966

    oklch(38.2% 0.079 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A171D

    #7A171D

    oklch(38.1% 0.133 23.5)

  • #005208

    #005208

    oklch(38.1% 0.125 143.6)

  • #1B3C88

    #1B3C88

    oklch(38% 0.133 263.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A171D

    #7A171D

    oklch(38.1% 0.133 23.5)

  • #434700

    #434700

    oklch(38.1% 0.085 113.4)

  • #004C52

    #004C52

    oklch(38% 0.065 203.9)

  • #482E81

    #482E81

    oklch(38% 0.133 293.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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