#9E0640

Closest named color: Cranberry (#9E003A). oklch(45% 0.177 9.1), rgb(158, 6, 64).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (45%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.55:1
White text8.22:1

Values

HEX#9E0640
RGBrgb(158, 6, 64)
HSLhsl(337, 93%, 32%)
OKLCHoklch(45% 0.177 9.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 #9E0640 8.22:1 AAA Lc -91.0 Preferred for body text
Black text on #9E0640 2.55:1 Fails Lc 17.8 Dividers and decoration only
#9E0640 text on white 8.22:1 AAA Lc 86.2 Fine for body text
#9E0640 text on black 2.55:1 Fails Lc -15.8 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

    #FDE2E5

    oklch(93.6% 0.03 10)

  3. Step 200

    200

    #FCCAD1

    oklch(88.5% 0.057 8.9)

  4. Step 300

    300

    #FBA5B2

    oklch(81% 0.103 9.7)

  5. Step 400

    400

    #F46E8B

    oklch(70.7% 0.166 8.9)

  6. Step 500

    500

    #EB3C6E

    oklch(63.1% 0.211 9.1)

  7. Step 600

    600

    #D40057

    oklch(55.7% 0.223 9.2)

  8. Step 700

    700

    #B30049

    oklch(49.1% 0.196 8.9)

  9. Step 800

    800 (this color)

    #9E0640

    oklch(45% 0.177 9.1)

  10. Step 900

    900

    #791032

    oklch(37.8% 0.138 9.1)

  11. Step 950

    950

    #470D1D

    oklch(26.9% 0.087 9.2)

Export this scale for Tailwind in the Tailwind colors tool

#9E0640 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)#3B3C410.200
Deuteranopia (no green cones)#5F593C0.182
Tritanopia (no blue cones)#AD00250.049
Achromatopsia (no color)#4F4F4F0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E0640

    #9E0640

    oklch(45% 0.177 9.1)

  • #00635E

    #00635E

    oklch(45% 0.078 188.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E0640

    #9E0640

    oklch(45% 0.177 9.1)

  • #8E1974

    #8E1974

    oklch(44.9% 0.176 339.2)

  • #932E00

    #932E00

    oklch(44.9% 0.144 39.1)

Open the analogous palette in the generator

Split complementary

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

  • #9E0640

    #9E0640

    oklch(45% 0.177 9.1)

  • #006640

    #006640

    oklch(45% 0.103 159.3)

  • #005F74

    #005F74

    oklch(44.9% 0.082 219.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E0640

    #9E0640

    oklch(45% 0.177 9.1)

  • #406100

    #406100

    oklch(45% 0.119 129)

  • #005796

    #005796

    oklch(44.8% 0.125 249.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E0640

    #9E0640

    oklch(45% 0.177 9.1)

  • #625500

    #625500

    oklch(44.9% 0.093 99)

  • #00635E

    #00635E

    oklch(45% 0.078 188.8)

  • #4640B3

    #4640B3

    oklch(45% 0.176 279)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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