#9C0C2F

Closest named color: Cranberry (#9E003A). oklch(44.4% 0.171 17.2), rgb(156, 12, 47).

Aa

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

About this color

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

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

Values

HEX#9C0C2F
RGBrgb(156, 12, 47)
HSLhsl(345, 86%, 33%)
OKLCHoklch(44.4% 0.171 17.2)

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 #9C0C2F 8.37:1 AAA Lc -91.6 Preferred for body text
Black text on #9C0C2F 2.50:1 Fails Lc 17.2 Dividers and decoration only
#9C0C2F text on white 8.37:1 AAA Lc 86.9 Fine for body text
#9C0C2F text on black 2.50: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FDE3E3

    oklch(93.7% 0.029 17.7)

  3. Step 200

    200

    #FCCBCC

    oklch(88.5% 0.056 16.9)

  4. Step 300

    300

    #FAA6A9

    oklch(80.8% 0.1 17.2)

  5. Step 400

    400

    #F4717C

    oklch(70.7% 0.161 17)

  6. Step 500

    500

    #EB415B

    oklch(63.1% 0.205 17)

  7. Step 600

    600

    #D60141

    oklch(55.6% 0.222 17.1)

  8. Step 700

    700

    #B50035

    oklch(49% 0.196 17.2)

  9. Step 800

    800 (this color)

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  10. Step 900

    900

    #781426

    oklch(37.6% 0.133 17.3)

  11. Step 950

    950

    #470F17

    oklch(27% 0.084 16.9)

Export this scale for Tailwind in the Tailwind colors tool

#9C0C2F 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)#3E3B2F0.192
Deuteranopia (no green cones)#61582B0.174
Tritanopia (no blue cones)#AC001E0.038
Achromatopsia (no color)#4E4E4E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C0C2F

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  • #006062

    #006062

    oklch(44.4% 0.075 197.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C0C2F

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  • #901665

    #901665

    oklch(44.3% 0.171 347.2)

  • #883900

    #883900

    oklch(44.5% 0.123 47.3)

Open the analogous palette in the generator

Split complementary

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

  • #9C0C2F

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  • #006349

    #006349

    oklch(44.4% 0.091 167.3)

  • #005C78

    #005C78

    oklch(44.3% 0.086 227.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C0C2F

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  • #296300

    #296300

    oklch(44.3% 0.134 137.1)

  • #004FA9

    #004FA9

    oklch(44.4% 0.159 257.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C0C2F

    #9C0C2F

    oklch(44.4% 0.171 17.2)

  • #5A5700

    #5A5700

    oklch(44.5% 0.096 107.4)

  • #006062

    #006062

    oklch(44.4% 0.075 197.3)

  • #523AAB

    #523AAB

    oklch(44.4% 0.171 286.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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