#9D0142

Closest named color: Cranberry (#9E003A). oklch(44.7% 0.178 7.6), rgb(157, 1, 66).

Aa

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

About this color

#9D0142 is a dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.178 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.012 away. White text reads best on it, at 8.34:1.

Hue familyReds
Lightnessdark (45%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.51:1
White text8.34:1

Values

HEX#9D0142
RGBrgb(157, 1, 66)
HSLhsl(335, 99%, 31%)
OKLCHoklch(44.7% 0.178 7.6)

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 #9D0142 8.34:1 AAA Lc -91.2 Preferred for body text
Black text on #9D0142 2.51:1 Fails Lc 17.6 Dividers and decoration only
#9D0142 text on white 8.34:1 AAA Lc 86.4 Fine for body text
#9D0142 text on black 2.51:1 Fails Lc -15.7 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

    #FFF2F4

    oklch(97.2% 0.014 6.7)

  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

    #FBA4B4

    oklch(80.9% 0.105 7.7)

  5. Step 400

    400

    #F46E8D

    oklch(70.7% 0.166 7.9)

  6. Step 500

    500

    #EB3B72

    oklch(63.1% 0.213 7.5)

  7. Step 600

    600

    #D3005B

    oklch(55.6% 0.223 7.6)

  8. Step 700

    700

    #B3004C

    oklch(49.1% 0.197 7.6)

  9. Step 800

    800 (this color)

    #9D0142

    oklch(44.7% 0.178 7.6)

  10. Step 900

    900

    #790F34

    oklch(37.8% 0.139 7.6)

  11. Step 950

    950

    #470D1E

    oklch(26.9% 0.088 8)

Export this scale for Tailwind in the Tailwind colors tool

#9D0142 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)#393B430.202
Deuteranopia (no green cones)#5E583E0.183
Tritanopia (no blue cones)#AC00250.053
Achromatopsia (no color)#4E4E4E0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D0142

    #9D0142

    oklch(44.7% 0.178 7.6)

  • #00625C

    #00625C

    oklch(44.7% 0.078 187.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D0142

    #9D0142

    oklch(44.7% 0.178 7.6)

  • #8C1776

    #8C1776

    oklch(44.5% 0.178 337.5)

  • #942A00

    #942A00

    oklch(44.6% 0.148 37.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D0142

    #9D0142

    oklch(44.7% 0.178 7.6)

  • #00653C

    #00653C

    oklch(44.6% 0.106 157.4)

  • #005F71

    #005F71

    oklch(44.8% 0.08 216.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D0142

    #9D0142

    oklch(44.7% 0.178 7.6)

  • #425F00

    #425F00

    oklch(44.6% 0.116 127.4)

  • #005792

    #005792

    oklch(44.6% 0.119 247.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D0142

    #9D0142

    oklch(44.7% 0.178 7.6)

  • #625400

    #625400

    oklch(44.6% 0.092 98)

  • #00625C

    #00625C

    oklch(44.7% 0.078 187.5)

  • #423FB3

    #423FB3

    oklch(44.6% 0.178 277.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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