#9A1A40

Closest named color: Cranberry (#9E003A). oklch(45.1% 0.162 10.4), rgb(154, 26, 64).

Aa

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

About this color

#9A1A40 is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.162 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.017 away. White text reads best on it, at 8.09:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.59:1
White text8.09:1

Values

HEX#9A1A40
RGBrgb(154, 26, 64)
HSLhsl(342, 71%, 35%)
OKLCHoklch(45.1% 0.162 10.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 #9A1A40 8.09:1 AAA Lc -91.2 Preferred for body text
Black text on #9A1A40 2.59:1 Fails Lc 17.5 Dividers and decoration only
#9A1A40 text on white 8.09:1 AAA Lc 86.5 Fine for body text
#9A1A40 text on black 2.59:1 Fails Lc -15.6 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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FACBD1

    oklch(88.4% 0.054 9.6)

  4. Step 300

    300

    #F7A7B2

    oklch(80.9% 0.095 10.4)

  5. Step 400

    400

    #EE748A

    oklch(70.7% 0.151 10.4)

  6. Step 500

    500

    #E5476D

    oklch(63.1% 0.194 10.5)

  7. Step 600

    600

    #D01A56

    oklch(55.6% 0.211 10.3)

  8. Step 700

    700

    #B30146

    oklch(49% 0.196 10.2)

  9. Step 800

    800 (this color)

    #9A1A40

    oklch(45.1% 0.162 10.4)

  10. Step 900

    900

    #751931

    oklch(37.7% 0.126 10.7)

  11. Step 950

    950

    #45111D

    oklch(27% 0.08 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#9A1A40 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)#3F3F410.182
Deuteranopia (no green cones)#60593D0.165
Tritanopia (no blue cones)#A9002B0.039
Achromatopsia (no color)#5050500.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A1A40

    #9A1A40

    oklch(45.1% 0.162 10.4)

  • #00635F

    #00635F

    oklch(45.1% 0.078 189.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A1A40

    #9A1A40

    oklch(45.1% 0.162 10.4)

  • #8C2371

    #8C2371

    oklch(45.2% 0.163 340.3)

  • #923100

    #923100

    oklch(45.1% 0.14 40.6)

Open the analogous palette in the generator

Split complementary

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

  • #9A1A40

    #9A1A40

    oklch(45.1% 0.162 10.4)

  • #006642

    #006642

    oklch(45% 0.101 160.6)

  • #006075

    #006075

    oklch(45.2% 0.082 219.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A1A40

    #9A1A40

    oklch(45.1% 0.162 10.4)

  • #3E6200

    #3E6200

    oklch(45.1% 0.122 130.1)

  • #00579A

    #00579A

    oklch(45.1% 0.13 250.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A1A40

    #9A1A40

    oklch(45.1% 0.162 10.4)

  • #625600

    #625600

    oklch(45.1% 0.094 99.9)

  • #00635F

    #00635F

    oklch(45.1% 0.078 189.9)

  • #4943AC

    #4943AC

    oklch(45.2% 0.162 280.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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