#8A0542

Closest named color: Red Purple (#820747). oklch(41.1% 0.162 3), rgb(138, 5, 66).

Aa

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

About this color

#8A0542 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.162 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.020 away. White text reads best on it, at 9.62:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.18:1
White text9.62:1

Values

HEX#8A0542
RGBrgb(138, 5, 66)
HSLhsl(332, 93%, 28%)
OKLCHoklch(41.1% 0.162 3)

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 #8A0542 9.62:1 AAA Lc -94.7 Preferred for body text
Black text on #8A0542 2.18:1 Fails Lc 13.7 Not readable
#8A0542 text on white 9.62:1 AAA Lc 90.3 Preferred for body text
#8A0542 text on black 2.18:1 Fails Lc -12.0 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

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F9CBD6

    oklch(88.5% 0.054 2.2)

  4. Step 300

    300

    #F5A7BB

    oklch(80.9% 0.095 2.6)

  5. Step 400

    400

    #EC7497

    oklch(70.7% 0.152 3.3)

  6. Step 500

    500

    #E2487E

    oklch(63.2% 0.194 3.1)

  7. Step 600

    600

    #CD1B67

    oklch(55.6% 0.211 3.1)

  8. Step 700

    700

    #B10456

    oklch(49.2% 0.196 3)

  9. Step 800

    800 (this color)

    #8A0542

    oklch(41.1% 0.162 3)

  10. Step 900

    900

    #73193B

    oklch(37.6% 0.126 2.9)

  11. Step 950

    950

    #441123

    oklch(27% 0.08 2.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A0542 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)#3035430.184
Deuteranopia (no green cones)#514D3F0.164
Tritanopia (no blue cones)#9700250.052
Achromatopsia (no color)#4545450.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A0542

    #8A0542

    oklch(41.1% 0.162 3)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A0542

    #8A0542

    oklch(41.1% 0.162 3)

  • #79186F

    #79186F

    oklch(41% 0.162 332.8)

  • #8A1800

    #8A1800

    oklch(41% 0.152 32.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A0542

    #8A0542

    oklch(41.1% 0.162 3)

  • #005A2D

    #005A2D

    oklch(41% 0.105 153)

  • #005462

    #005462

    oklch(41% 0.072 213.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A0542

    #8A0542

    oklch(41.1% 0.162 3)

  • #415300

    #415300

    oklch(41.2% 0.101 122.8)

  • #004F7C

    #004F7C

    oklch(41.1% 0.1 243.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A0542

    #8A0542

    oklch(41.1% 0.162 3)

  • #5A4900

    #5A4900

    oklch(41.1% 0.084 93.6)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

  • #323BA0

    #323BA0

    oklch(41.1% 0.162 273.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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