#9A1F4A

Closest named color: Berry (#990F4B). oklch(45.8% 0.16 5.8), rgb(154, 31, 74).

Aa

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

About this color

#9A1F4A is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.160 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.018 away. White text reads best on it, at 7.86:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.66:1
White text7.86:1

Values

HEX#9A1F4A
RGBrgb(154, 31, 74)
HSLhsl(339, 66%, 36%)
OKLCHoklch(45.8% 0.16 5.8)

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 #9A1F4A 7.86:1 AAA Lc -90.8 Preferred for body text
Black text on #9A1F4A 2.66:1 Fails Lc 18.1 Dividers and decoration only
#9A1F4A text on white 7.86:1 AAA Lc 85.9 Fine for body text
#9A1F4A text on black 2.66:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CCD4

    oklch(88.6% 0.052 6.2)

  4. Step 300

    300

    #F5A7B7

    oklch(80.8% 0.094 5.9)

  5. Step 400

    400

    #EC7593

    oklch(70.8% 0.149 5.7)

  6. Step 500

    500

    #E24978

    oklch(63.1% 0.191 5.8)

  7. Step 600

    600

    #CD1E61

    oklch(55.6% 0.208 5.8)

  8. Step 700

    700

    #B10950

    oklch(49.1% 0.193 5.9)

  9. Step 800

    800 (this color)

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  10. Step 900

    900

    #731A38

    oklch(37.6% 0.124 5.3)

  11. Step 950

    950

    #441121

    oklch(26.9% 0.079 5)

Export this scale for Tailwind in the Tailwind colors tool

#9A1F4A 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)#3F424B0.180
Deuteranopia (no green cones)#5F5A470.162
Tritanopia (no blue cones)#A800320.042
Achromatopsia (no color)#5252520.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A1F4A

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A1F4A

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  • #8A2979

    #8A2979

    oklch(45.8% 0.16 335.7)

  • #9C2800

    #9C2800

    oklch(45.9% 0.158 35.9)

Open the analogous palette in the generator

Split complementary

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

  • #9A1F4A

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  • #00693C

    #00693C

    oklch(45.8% 0.111 156)

  • #006274

    #006274

    oklch(45.7% 0.081 216)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A1F4A

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  • #486200

    #486200

    oklch(45.8% 0.116 125.6)

  • #005B94

    #005B94

    oklch(45.7% 0.118 246.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A1F4A

    #9A1F4A

    oklch(45.8% 0.16 5.8)

  • #675600

    #675600

    oklch(45.7% 0.094 95.7)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

  • #4348AE

    #4348AE

    oklch(45.8% 0.16 276)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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