#8B0340

Closest named color: Red Wine (#8C0034). oklch(41.1% 0.163 4.2), rgb(139, 3, 64).

Aa

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

About this color

#8B0340 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.163 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.019 away. White text reads best on it, at 9.61:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.18:1
White text9.61:1

Values

HEX#8B0340
RGBrgb(139, 3, 64)
HSLhsl(333, 96%, 28%)
OKLCHoklch(41.1% 0.163 4.2)

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 #8B0340 9.61:1 AAA Lc -94.6 Preferred for body text
Black text on #8B0340 2.18:1 Fails Lc 13.9 Not readable
#8B0340 text on white 9.61:1 AAA Lc 90.1 Preferred for body text
#8B0340 text on black 2.18:1 Fails Lc -12.2 Not readable

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

    #F9CBD5

    oklch(88.5% 0.053 3.6)

  4. Step 300

    300

    #F6A7B9

    oklch(81% 0.096 4.5)

  5. Step 400

    400

    #ED7395

    oklch(70.7% 0.154 4.2)

  6. Step 500

    500

    #E3477B

    oklch(63.1% 0.195 4.4)

  7. Step 600

    600

    #CE1964

    oklch(55.6% 0.212 4.4)

  8. Step 700

    700

    #B20053

    oklch(49.1% 0.198 4.4)

  9. Step 800

    800 (this color)

    #8B0340

    oklch(41.1% 0.163 4.2)

  10. Step 900

    900

    #741839

    oklch(37.7% 0.128 4.4)

  11. Step 950

    950

    #441122

    oklch(27% 0.08 3.7)

Export this scale for Tailwind in the Tailwind colors tool

#8B0340 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)#3035410.187
Deuteranopia (no green cones)#524E3D0.167
Tritanopia (no blue cones)#9800240.051
Achromatopsia (no color)#4545450.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B0340

    #8B0340

    oklch(41.1% 0.163 4.2)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B0340

    #8B0340

    oklch(41.1% 0.163 4.2)

  • #7B176E

    #7B176E

    oklch(41.2% 0.163 334.2)

  • #881D00

    #881D00

    oklch(41.1% 0.146 34.4)

Open the analogous palette in the generator

Split complementary

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

  • #8B0340

    #8B0340

    oklch(41.1% 0.163 4.2)

  • #005A30

    #005A30

    oklch(41.1% 0.102 154.5)

  • #005463

    #005463

    oklch(41% 0.073 215.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B0340

    #8B0340

    oklch(41.1% 0.163 4.2)

  • #3F5300

    #3F5300

    oklch(41% 0.102 124.1)

  • #004F7D

    #004F7D

    oklch(41.2% 0.101 243.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B0340

    #8B0340

    oklch(41.1% 0.163 4.2)

  • #5A4900

    #5A4900

    oklch(41.1% 0.084 93.6)

  • #00574F

    #00574F

    oklch(41% 0.073 184.2)

  • #343AA1

    #343AA1

    oklch(41.1% 0.164 274.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8B0340 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.