#9D0031

Closest named color: Cranberry (#9E003A). oklch(44.2% 0.177 15.4), rgb(157, 0, 49).

Aa

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

About this color

#9D0031 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.177 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.013 away. White text reads best on it, at 8.47:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.47:1
White text8.47:1

Values

HEX#9D0031
RGBrgb(157, 0, 49)
HSLhsl(341, 100%, 31%)
OKLCHoklch(44.2% 0.177 15.4)

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 #9D0031 8.47:1 AAA Lc -91.5 Preferred for body text
Black text on #9D0031 2.47:1 Fails Lc 17.3 Dividers and decoration only
#9D0031 text on white 8.47:1 AAA Lc 86.7 Fine for body text
#9D0031 text on black 2.47:1 Fails Lc -15.4 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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE2E3

    oklch(93.5% 0.03 15.1)

  3. Step 200

    200

    #FDCACD

    oklch(88.4% 0.058 14.4)

  4. Step 300

    300

    #FCA5AB

    oklch(80.9% 0.103 15.1)

  5. Step 400

    400

    #F56F7E

    oklch(70.6% 0.165 15.4)

  6. Step 500

    500

    #ED3C5E

    oklch(63.1% 0.212 15.3)

  7. Step 600

    600

    #D60046

    oklch(55.7% 0.223 15.4)

  8. Step 700

    700

    #B5003A

    oklch(49.1% 0.196 15.4)

  9. Step 800

    800 (this color)

    #9D0031

    oklch(44.2% 0.177 15.4)

  10. Step 900

    900

    #7A1028

    oklch(37.7% 0.138 15.6)

  11. Step 950

    950

    #480D18

    oklch(27% 0.088 15)

Export this scale for Tailwind in the Tailwind colors tool

#9D0031 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)#3C3A310.199
Deuteranopia (no green cones)#60572D0.180
Tritanopia (no blue cones)#AD001B0.044
Achromatopsia (no color)#4D4D4D0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D0031

    #9D0031

    oklch(44.2% 0.177 15.4)

  • #006060

    #006060

    oklch(44.3% 0.076 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D0031

    #9D0031

    oklch(44.2% 0.177 15.4)

  • #901168

    #901168

    oklch(44.2% 0.176 345.4)

  • #893600

    #893600

    oklch(44.3% 0.126 45.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D0031

    #9D0031

    oklch(44.2% 0.177 15.4)

  • #006347

    #006347

    oklch(44.3% 0.092 165.7)

  • #005C76

    #005C76

    oklch(44.2% 0.084 225.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D0031

    #9D0031

    oklch(44.2% 0.177 15.4)

  • #2F6200

    #2F6200

    oklch(44.3% 0.13 135.4)

  • #0051A2

    #0051A2

    oklch(44.3% 0.148 255.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D0031

    #9D0031

    oklch(44.2% 0.177 15.4)

  • #5B5500

    #5B5500

    oklch(44.1% 0.094 104.9)

  • #006060

    #006060

    oklch(44.3% 0.076 194.8)

  • #4F39AE

    #4F39AE

    oklch(44.2% 0.177 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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