#9A0162

Closest named color: Red Violet (#9E0168). oklch(45.2% 0.187 351.1), rgb(154, 1, 98).

Aa

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

About this color

#9A0162 is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.187 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.012 away. White text reads best on it, at 8.22:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.55:1
White text8.22:1

Values

HEX#9A0162
RGBrgb(154, 1, 98)
HSLhsl(322, 99%, 30%)
OKLCHoklch(45.2% 0.187 351.1)

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 #9A0162 8.22:1 AAA Lc -90.9 Preferred for body text
Black text on #9A0162 2.55:1 Fails Lc 17.9 Dividers and decoration only
#9A0162 text on white 8.22:1 AAA Lc 86.1 Fine for body text
#9A0162 text on black 2.55:1 Fails Lc -15.9 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

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FCE2EC

    oklch(93.7% 0.031 352.4)

  3. Step 200

    200

    #FAC9DE

    oklch(88.5% 0.061 350.8)

  4. Step 300

    300

    #F7A3C9

    oklch(80.9% 0.109 351.1)

  5. Step 400

    400

    #EE6CAE

    oklch(70.7% 0.175 350.8)

  6. Step 500

    500

    #E53899

    oklch(63.1% 0.224 351.4)

  7. Step 600

    600

    #CC0083

    oklch(55.6% 0.231 351.2)

  8. Step 700

    700

    #AD006E

    oklch(49.2% 0.204 351.3)

  9. Step 800

    800 (this color)

    #9A0162

    oklch(45.2% 0.187 351.1)

  10. Step 900

    900

    #750D4B

    oklch(37.7% 0.146 350.9)

  11. Step 950

    950

    #450C2C

    oklch(27% 0.093 350.8)

Export this scale for Tailwind in the Tailwind colors tool

#9A0162 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)#2B3F640.215
Deuteranopia (no green cones)#55585F0.186
Tritanopia (no blue cones)#A600370.075
Achromatopsia (no color)#4F4F4F0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A0162

    #9A0162

    oklch(45.2% 0.187 351.1)

  • #00654F

    #00654F

    oklch(45.1% 0.088 171.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A0162

    #9A0162

    oklch(45.2% 0.187 351.1)

  • #811F93

    #811F93

    oklch(45.1% 0.188 320.8)

  • #A30025

    #A30025

    oklch(45.2% 0.182 21)

Open the analogous palette in the generator

Split complementary

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

  • #9A0162

    #9A0162

    oklch(45.2% 0.187 351.1)

  • #136800

    #136800

    oklch(45.1% 0.149 141.1)

  • #006267

    #006267

    oklch(45.1% 0.077 200.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A0162

    #9A0162

    oklch(45.2% 0.187 351.1)

  • #585A00

    #585A00

    oklch(45.1% 0.099 111.3)

  • #005E7F

    #005E7F

    oklch(45.2% 0.091 231.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A0162

    #9A0162

    oklch(45.2% 0.187 351.1)

  • #704F00

    #704F00

    oklch(45.2% 0.093 80.8)

  • #00654F

    #00654F

    oklch(45.1% 0.088 171.1)

  • #084BBB

    #084BBB

    oklch(45.2% 0.187 261)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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