#9C1F66

Closest named color: Deep Magenta (#A0025C). oklch(47.1% 0.172 351.4), rgb(156, 31, 102).

Aa

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

About this color

#9C1F66 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.172 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.023 away. White text reads best on it, at 7.49:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.80:1
White text7.49:1

Values

HEX#9C1F66
RGBrgb(156, 31, 102)
HSLhsl(326, 67%, 37%)
OKLCHoklch(47.1% 0.172 351.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 #9C1F66 7.49:1 AAA Lc -89.6 Fine for body text
Black text on #9C1F66 2.80:1 Fails Lc 19.3 Dividers and decoration only
#9C1F66 text on white 7.49:1 AAA Lc 84.7 Fine for body text
#9C1F66 text on black 2.80:1 Fails Lc -17.3 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 700.

  1. Step 50

    50

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EC

    oklch(93.7% 0.024 351.3)

  3. Step 200

    200

    #F2CDDD

    oklch(88.4% 0.046 350.2)

  4. Step 300

    300

    #EBABC7

    oklch(80.9% 0.083 351.2)

  5. Step 400

    400

    #DE7CAA

    oklch(70.7% 0.132 351.5)

  6. Step 500

    500

    #D25695

    oklch(63.1% 0.17 351.4)

  7. Step 600

    600

    #BD3680

    oklch(55.6% 0.184 351.2)

  8. Step 700

    700 (this color)

    #9C1F66

    oklch(47.1% 0.172 351.4)

  9. Step 800

    800

    #842358

    oklch(42.7% 0.142 351.2)

  10. Step 900

    900

    #6B2348

    oklch(37.8% 0.111 351.9)

  11. Step 950

    950

    #3F152A

    oklch(26.9% 0.071 351.8)

Export this scale for Tailwind in the Tailwind colors tool

#9C1F66 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)#3746680.193
Deuteranopia (no green cones)#5B5D630.170
Tritanopia (no blue cones)#A813400.064
Achromatopsia (no color)#5555550.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C1F66

    #9C1F66

    oklch(47.1% 0.172 351.4)

  • #006B54

    #006B54

    oklch(47% 0.092 171.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C1F66

    #9C1F66

    oklch(47.1% 0.172 351.4)

  • #842E93

    #842E93

    oklch(47% 0.172 321.4)

  • #A61C2D

    #A61C2D

    oklch(47.1% 0.171 21.3)

Open the analogous palette in the generator

Split complementary

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

  • #9C1F66

    #9C1F66

    oklch(47.1% 0.172 351.4)

  • #126F00

    #126F00

    oklch(47.2% 0.156 141.4)

  • #00686E

    #00686E

    oklch(47.1% 0.08 201.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C1F66

    #9C1F66

    oklch(47.1% 0.172 351.4)

  • #5E6000

    #5E6000

    oklch(47.1% 0.104 111.2)

  • #006487

    #006487

    oklch(47.2% 0.095 231.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C1F66

    #9C1F66

    oklch(47.1% 0.172 351.4)

  • #765400

    #765400

    oklch(47% 0.097 81.4)

  • #006B54

    #006B54

    oklch(47% 0.092 171.2)

  • #1C53B9

    #1C53B9

    oklch(47.1% 0.171 261.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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