#9E171F

Closest named color: Auburn (#9B2226). oklch(45.1% 0.168 25), rgb(158, 23, 31).

Aa

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

About this color

#9E171F is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.168 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Auburn (#9B2226), ΔE 0.012 away. White text reads best on it, at 8.08:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameAuburn (#9B2226)
Black text2.59:1
White text8.08:1

Values

HEX#9E171F
RGBrgb(158, 23, 31)
HSLhsl(356, 75%, 35%)
OKLCHoklch(45.1% 0.168 25)

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 #9E171F 8.08:1 AAA Lc -91.0 Preferred for body text
Black text on #9E171F 2.59:1 Fails Lc 17.8 Dividers and decoration only
#9E171F text on white 8.08:1 AAA Lc 86.2 Fine for body text
#9E171F text on black 2.59:1 Fails Lc -15.8 Dividers and decoration only

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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FAA8A1

    oklch(81% 0.098 24.8)

  5. Step 400

    400

    #F3746D

    oklch(70.7% 0.158 25.1)

  6. Step 500

    500

    #EA4646

    oklch(63.1% 0.201 25)

  7. Step 600

    600

    #D61227

    oklch(55.7% 0.219 25)

  8. Step 700

    700

    #B7001C

    oklch(49.1% 0.199 25)

  9. Step 800

    800 (this color)

    #9E171F

    oklch(45.1% 0.168 25)

  10. Step 900

    900

    #78171A

    oklch(37.6% 0.131 24.9)

  11. Step 950

    950

    #471110

    oklch(27.1% 0.083 25.5)

Export this scale for Tailwind in the Tailwind colors tool

#9E171F 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)#443D1E0.184
Deuteranopia (no green cones)#655A190.167
Tritanopia (no blue cones)#AF001C0.034
Achromatopsia (no color)#5050500.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E171F

    #9E171F

    oklch(45.1% 0.168 25)

  • #00616A

    #00616A

    oklch(45% 0.077 205.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E171F

    #9E171F

    oklch(45.1% 0.168 25)

  • #96185A

    #96185A

    oklch(45.1% 0.168 355.1)

  • #834100

    #834100

    oklch(45.1% 0.112 54.9)

Open the analogous palette in the generator

Split complementary

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

  • #9E171F

    #9E171F

    oklch(45.1% 0.168 25)

  • #006553

    #006553

    oklch(45.2% 0.085 174.8)

  • #005D83

    #005D83

    oklch(45.2% 0.096 235.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E171F

    #9E171F

    oklch(45.1% 0.168 25)

  • #006819

    #006819

    oklch(45% 0.141 145.1)

  • #264BB1

    #264BB1

    oklch(45.1% 0.168 265.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E171F

    #9E171F

    oklch(45.1% 0.168 25)

  • #545C00

    #545C00

    oklch(45.2% 0.103 115.5)

  • #00616A

    #00616A

    oklch(45% 0.077 205.9)

  • #5F38A7

    #5F38A7

    oklch(45% 0.169 294.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9E171F 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.