#9A172B

Closest named color: Auburn (#9B2226). oklch(44.5% 0.164 20.1), rgb(154, 23, 43).

Aa

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

About this color

#9A172B is a dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.164 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Auburn (#9B2226), ΔE 0.017 away. White text reads best on it, at 8.29:1.

Hue familyReds
Lightnessdark (45%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameAuburn (#9B2226)
Black text2.53:1
White text8.29:1

Values

HEX#9A172B
RGBrgb(154, 23, 43)
HSLhsl(351, 74%, 35%)
OKLCHoklch(44.5% 0.164 20.1)

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 #9A172B 8.29:1 AAA Lc -91.7 Preferred for body text
Black text on #9A172B 2.53:1 Fails Lc 17.1 Dividers and decoration only
#9A172B text on white 8.29:1 AAA Lc 87.0 Fine for body text
#9A172B text on black 2.53:1 Fails Lc -15.1 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #F8A8A7

    oklch(80.9% 0.095 20.1)

  5. Step 400

    400

    #F17578

    oklch(70.8% 0.153 20.3)

  6. Step 500

    500

    #E84856

    oklch(63.2% 0.196 20)

  7. Step 600

    600

    #D3193B

    oklch(55.6% 0.212 20)

  8. Step 700

    700

    #B6002D

    oklch(49.1% 0.197 20.1)

  9. Step 800

    800 (this color)

    #9A172B

    oklch(44.5% 0.164 20.1)

  10. Step 900

    900

    #771923

    oklch(37.8% 0.128 20.4)

  11. Step 950

    950

    #461115

    oklch(27% 0.081 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#9A172B 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)#413D2B0.181
Deuteranopia (no green cones)#6158270.165
Tritanopia (no blue cones)#AA00200.033
Achromatopsia (no color)#4E4E4E0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A172B

    #9A172B

    oklch(44.5% 0.164 20.1)

  • #006064

    #006064

    oklch(44.4% 0.076 199.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A172B

    #9A172B

    oklch(44.5% 0.164 20.1)

  • #901B60

    #901B60

    oklch(44.5% 0.164 350.1)

  • #853C00

    #853C00

    oklch(44.5% 0.117 50.3)

Open the analogous palette in the generator

Split complementary

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

  • #9A172B

    #9A172B

    oklch(44.5% 0.164 20.1)

  • #00634C

    #00634C

    oklch(44.4% 0.088 169.8)

  • #005C7B

    #005C7B

    oklch(44.5% 0.089 229.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A172B

    #9A172B

    oklch(44.5% 0.164 20.1)

  • #1A6500

    #1A6500

    oklch(44.4% 0.143 140.1)

  • #124DAC

    #124DAC

    oklch(44.5% 0.163 260.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A172B

    #9A172B

    oklch(44.5% 0.164 20.1)

  • #585800

    #585800

    oklch(44.6% 0.097 109.8)

  • #006064

    #006064

    oklch(44.4% 0.076 199.8)

  • #573BA6

    #573BA6

    oklch(44.6% 0.164 290.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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