#9D1831

Closest named color: Auburn (#9B2226). oklch(45.2% 0.166 17.9), rgb(157, 24, 49).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameAuburn (#9B2226)
Black text2.60:1
White text8.05:1

Values

HEX#9D1831
RGBrgb(157, 24, 49)
HSLhsl(349, 73%, 35%)
OKLCHoklch(45.2% 0.166 17.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 #9D1831 8.05:1 AAA Lc -91.0 Preferred for body text
Black text on #9D1831 2.60:1 Fails Lc 17.8 Dividers and decoration only
#9D1831 text on white 8.05:1 AAA Lc 86.2 Fine for body text
#9D1831 text on black 2.60:1 Fails Lc -15.9 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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCCCC

    oklch(88.6% 0.053 18.2)

  4. Step 300

    300

    #F9A7A9

    oklch(80.9% 0.097 17.8)

  5. Step 400

    400

    #F1747C

    oklch(70.7% 0.154 17.9)

  6. Step 500

    500

    #E8465A

    oklch(63.1% 0.197 18.1)

  7. Step 600

    600

    #D41440

    oklch(55.7% 0.215 18.1)

  8. Step 700

    700

    #B50033

    oklch(49% 0.196 18)

  9. Step 800

    800 (this color)

    #9D1831

    oklch(45.2% 0.166 17.9)

  10. Step 900

    900

    #771726

    oklch(37.6% 0.129 18)

  11. Step 950

    950

    #461017

    oklch(26.9% 0.082 17.3)

Export this scale for Tailwind in the Tailwind colors tool

#9D1831 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)#423E310.184
Deuteranopia (no green cones)#635A2D0.168
Tritanopia (no blue cones)#AD00240.034
Achromatopsia (no color)#5050500.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D1831

    #9D1831

    oklch(45.2% 0.166 17.9)

  • #006365

    #006365

    oklch(45.3% 0.077 197.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D1831

    #9D1831

    oklch(45.2% 0.166 17.9)

  • #921E66

    #921E66

    oklch(45.3% 0.166 347.9)

  • #8A3B00

    #8A3B00

    oklch(45.2% 0.123 48)

Open the analogous palette in the generator

Split complementary

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

  • #9D1831

    #9D1831

    oklch(45.2% 0.166 17.9)

  • #00664C

    #00664C

    oklch(45.3% 0.092 167.8)

  • #005F7C

    #005F7C

    oklch(45.3% 0.088 227.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D1831

    #9D1831

    oklch(45.2% 0.166 17.9)

  • #276700

    #276700

    oklch(45.4% 0.14 138)

  • #0250AF

    #0250AF

    oklch(45.1% 0.166 258.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D1831

    #9D1831

    oklch(45.2% 0.166 17.9)

  • #5C5900

    #5C5900

    oklch(45.2% 0.097 107.4)

  • #006365

    #006365

    oklch(45.3% 0.077 197.2)

  • #563EAA

    #563EAA

    oklch(45.3% 0.165 288.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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