#9C0242

Closest named color: Purple Red (#990147). oklch(44.5% 0.177 7.4), rgb(156, 2, 66).

Aa

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

About this color

#9C0242 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.177 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Red (#990147), ΔE 0.011 away. White text reads best on it, at 8.39:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.177)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.50:1
White text8.39:1

Values

HEX#9C0242
RGBrgb(156, 2, 66)
HSLhsl(335, 97%, 31%)
OKLCHoklch(44.5% 0.177 7.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 #9C0242 8.39:1 AAA Lc -91.4 Preferred for body text
Black text on #9C0242 2.50:1 Fails Lc 17.4 Dividers and decoration only
#9C0242 text on white 8.39:1 AAA Lc 86.6 Fine for body text
#9C0242 text on black 2.50:1 Fails Lc -15.5 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E6

    oklch(93.6% 0.03 7.5)

  3. Step 200

    200

    #FCCAD2

    oklch(88.5% 0.058 7.5)

  4. Step 300

    300

    #FBA4B5

    oklch(80.9% 0.105 6.9)

  5. Step 400

    400

    #F36E8E

    oklch(70.6% 0.165 7.3)

  6. Step 500

    500

    #EA3C72

    oklch(63% 0.211 7.5)

  7. Step 600

    600

    #D3005C

    oklch(55.6% 0.223 7.2)

  8. Step 700

    700

    #B3004C

    oklch(49.1% 0.197 7.6)

  9. Step 800

    800 (this color)

    #9C0242

    oklch(44.5% 0.177 7.4)

  10. Step 900

    900

    #781034

    oklch(37.6% 0.138 7.5)

  11. Step 950

    950

    #470D1F

    oklch(27% 0.088 6.9)

Export this scale for Tailwind in the Tailwind colors tool

#9C0242 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)#383B430.202
Deuteranopia (no green cones)#5D573E0.181
Tritanopia (no blue cones)#AB00250.052
Achromatopsia (no color)#4D4D4D0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C0242

    #9C0242

    oklch(44.5% 0.177 7.4)

  • #00615B

    #00615B

    oklch(44.4% 0.077 187.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C0242

    #9C0242

    oklch(44.5% 0.177 7.4)

  • #8B1876

    #8B1876

    oklch(44.4% 0.177 337.1)

  • #932A00

    #932A00

    oklch(44.5% 0.147 37.5)

Open the analogous palette in the generator

Split complementary

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

  • #9C0242

    #9C0242

    oklch(44.5% 0.177 7.4)

  • #00653C

    #00653C

    oklch(44.6% 0.106 157.4)

  • #005E71

    #005E71

    oklch(44.5% 0.08 217.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C0242

    #9C0242

    oklch(44.5% 0.177 7.4)

  • #425F00

    #425F00

    oklch(44.6% 0.116 127.4)

  • #005791

    #005791

    oklch(44.5% 0.118 247.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C0242

    #9C0242

    oklch(44.5% 0.177 7.4)

  • #625300

    #625300

    oklch(44.4% 0.092 97)

  • #00615B

    #00615B

    oklch(44.4% 0.077 187.5)

  • #423FB2

    #423FB2

    oklch(44.5% 0.177 277.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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