#982C71

Closest named color: Red Violet (#9E0168). oklch(48% 0.16 345.6), rgb(152, 44, 113).

Aa

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

About this color

#982C71 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.160 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.039 away. White text reads best on it, at 7.15:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.93:1
White text7.15:1

Values

HEX#982C71
RGBrgb(152, 44, 113)
HSLhsl(322, 55%, 38%)
OKLCHoklch(48% 0.16 345.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 #982C71 7.15:1 AAA Lc -88.8 Fine for body text
Black text on #982C71 2.93:1 Fails Lc 20.2 Dividers and decoration only
#982C71 text on white 7.15:1 AAA Lc 83.9 Fine for body text
#982C71 text on black 2.93:1 Fails Lc -18.1 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCEDF

    oklch(88.4% 0.043 345.6)

  4. Step 300

    300

    #E6ADCC

    oklch(80.9% 0.077 345.2)

  5. Step 400

    400

    #D780B1

    oklch(70.7% 0.123 345.8)

  6. Step 500

    500

    #CA5C9E

    oklch(63.1% 0.159 345.6)

  7. Step 600

    600

    #B53F89

    oklch(55.6% 0.172 345.5)

  8. Step 700

    700 (this color)

    #982C71

    oklch(48% 0.16 345.6)

  9. Step 800

    800

    #7E295F

    oklch(42.7% 0.132 345.1)

  10. Step 900

    900

    #66274D

    oklch(37.7% 0.102 345.9)

  11. Step 950

    950

    #3C172D

    oklch(26.9% 0.066 345.8)

Export this scale for Tailwind in the Tailwind colors tool

#982C71 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)#394C730.176
Deuteranopia (no green cones)#595E6E0.155
Tritanopia (no blue cones)#A22A4A0.066
Achromatopsia (no color)#5858580.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #982C71

    #982C71

    oklch(48% 0.16 345.6)

  • #006F50

    #006F50

    oklch(48% 0.1 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #982C71

    #982C71

    oklch(48% 0.16 345.6)

  • #7F3999

    #7F3999

    oklch(48% 0.16 315.8)

  • #A4273E

    #A4273E

    oklch(48% 0.16 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #982C71

    #982C71

    oklch(48% 0.16 345.6)

  • #356E00

    #356E00

    oklch(48% 0.141 135.5)

  • #006C6C

    #006C6C

    oklch(48.1% 0.082 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #982C71

    #982C71

    oklch(48% 0.16 345.6)

  • #666000

    #666000

    oklch(47.9% 0.102 105.4)

  • #006885

    #006885

    oklch(48.1% 0.092 225.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #982C71

    #982C71

    oklch(48% 0.16 345.6)

  • #7E5400

    #7E5400

    oklch(48% 0.101 75.5)

  • #006F50

    #006F50

    oklch(48% 0.1 165.6)

  • #025BB5

    #025BB5

    oklch(48% 0.16 255.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #982C71 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.