#9D2868

Closest named color: Deep Magenta (#A0025C). oklch(48.1% 0.164 351.6), rgb(157, 40, 104).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.93:1
White text7.15:1

Values

HEX#9D2868
RGBrgb(157, 40, 104)
HSLhsl(327, 59%, 39%)
OKLCHoklch(48.1% 0.164 351.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 #9D2868 7.15:1 AAA Lc -88.7 Fine for body text
Black text on #9D2868 2.93:1 Fails Lc 20.4 Dividers and decoration only
#9D2868 text on white 7.15:1 AAA Lc 83.7 Fine for body text
#9D2868 text on black 2.93:1 Fails Lc -18.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

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F1CEDC

    oklch(88.5% 0.043 352)

  4. Step 300

    300

    #E9ACC6

    oklch(80.9% 0.079 351.7)

  5. Step 400

    400

    #DC7EA9

    oklch(70.7% 0.126 351.9)

  6. Step 500

    500

    #CF5994

    oklch(63% 0.162 351.6)

  7. Step 600

    600

    #BB3B7F

    oklch(55.7% 0.176 351.6)

  8. Step 700

    700 (this color)

    #9D2868

    oklch(48.1% 0.164 351.6)

  9. Step 800

    800

    #822657

    oklch(42.6% 0.135 351.6)

  10. Step 900

    900

    #692548

    oklch(37.7% 0.105 351.4)

  11. Step 950

    950

    #3E172A

    oklch(27.1% 0.066 352)

Export this scale for Tailwind in the Tailwind colors tool

#9D2868 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)#3C4A6A0.183
Deuteranopia (no green cones)#5D5F650.163
Tritanopia (no blue cones)#A91F440.060
Achromatopsia (no color)#5858580.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D2868

    #9D2868

    oklch(48.1% 0.164 351.6)

  • #006F57

    #006F57

    oklch(48.2% 0.094 171)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D2868

    #9D2868

    oklch(48.1% 0.164 351.6)

  • #863594

    #863594

    oklch(48.1% 0.164 321.5)

  • #A72631

    #A72631

    oklch(48.2% 0.164 21.8)

Open the analogous palette in the generator

Split complementary

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

  • #9D2868

    #9D2868

    oklch(48.1% 0.164 351.6)

  • #107200

    #107200

    oklch(48% 0.16 141.6)

  • #006B71

    #006B71

    oklch(48% 0.082 201.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D2868

    #9D2868

    oklch(48.1% 0.164 351.6)

  • #606300

    #606300

    oklch(48.1% 0.106 111.8)

  • #00678B

    #00678B

    oklch(48.2% 0.097 231.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D2868

    #9D2868

    oklch(48.1% 0.164 351.6)

  • #7A5700

    #7A5700

    oklch(48.1% 0.099 81.4)

  • #006F57

    #006F57

    oklch(48.2% 0.094 171)

  • #2457B8

    #2457B8

    oklch(48.1% 0.163 261.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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