#9D0C17

Closest named color: Carmine (#9D0216). oklch(44.3% 0.173 25.9), rgb(157, 12, 23).

Aa

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

About this color

#9D0C17 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.173 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.006 away. White text reads best on it, at 8.40:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.49:1
White text8.40:1

Values

HEX#9D0C17
RGBrgb(157, 12, 23)
HSLhsl(355, 86%, 33%)
OKLCHoklch(44.3% 0.173 25.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 #9D0C17 8.40:1 AAA Lc -91.6 Preferred for body text
Black text on #9D0C17 2.49:1 Fails Lc 17.2 Dividers and decoration only
#9D0C17 text on white 8.40:1 AAA Lc 86.9 Fine for body text
#9D0C17 text on black 2.49:1 Fails Lc -15.2 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FBA79E

    oklch(80.8% 0.101 26.2)

  5. Step 400

    400

    #F5726A

    oklch(70.6% 0.163 25.6)

  6. Step 500

    500

    #ED4241

    oklch(63.1% 0.208 25.7)

  7. Step 600

    600

    #D8021E

    oklch(55.6% 0.225 26)

  8. Step 700

    700

    #B70018

    oklch(49.1% 0.199 25.9)

  9. Step 800

    800 (this color)

    #9D0C17

    oklch(44.3% 0.173 25.9)

  10. Step 900

    900

    #7A1516

    oklch(37.8% 0.135 26.2)

  11. Step 950

    950

    #480F0E

    oklch(27% 0.086 25.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D0C17 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)#413A150.191
Deuteranopia (no green cones)#63580E0.173
Tritanopia (no blue cones)#AE00130.035
Achromatopsia (no color)#4D4D4D0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D0C17

    #9D0C17

    oklch(44.3% 0.173 25.9)

  • #005F68

    #005F68

    oklch(44.3% 0.076 206.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D0C17

    #9D0C17

    oklch(44.3% 0.173 25.9)

  • #950D56

    #950D56

    oklch(44.2% 0.173 356)

  • #7F4000

    #7F4000

    oklch(44.3% 0.108 55.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D0C17

    #9D0C17

    oklch(44.3% 0.173 25.9)

  • #006251

    #006251

    oklch(44.3% 0.083 175.4)

  • #005A80

    #005A80

    oklch(44.2% 0.095 235.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D0C17

    #9D0C17

    oklch(44.3% 0.173 25.9)

  • #00661D

    #00661D

    oklch(44.4% 0.136 146)

  • #2547B1

    #2547B1

    oklch(44.2% 0.173 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D0C17

    #9D0C17

    oklch(44.3% 0.173 25.9)

  • #515900

    #515900

    oklch(44.2% 0.101 115.6)

  • #005F68

    #005F68

    oklch(44.3% 0.076 206.1)

  • #5F33A6

    #5F33A6

    oklch(44.2% 0.174 296)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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