#8F0042

Closest named color: Mulberry (#920A4E). oklch(41.9% 0.168 4), rgb(143, 0, 66).

Aa

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

About this color

#8F0042 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.168 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.020 away. White text reads best on it, at 9.34:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.24:1
White text9.34:1

Values

HEX#8F0042
RGBrgb(143, 0, 66)
HSLhsl(332, 100%, 28%)
OKLCHoklch(41.9% 0.168 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 #8F0042 9.34:1 AAA Lc -93.8 Preferred for body text
Black text on #8F0042 2.24:1 Fails Lc 14.7 Not readable
#8F0042 text on white 9.34:1 AAA Lc 89.3 Fine for body text
#8F0042 text on black 2.24:1 Fails Lc -12.9 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

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F7A6B9

    oklch(80.9% 0.098 4.2)

  5. Step 400

    400

    #EF7295

    oklch(70.8% 0.157 4.3)

  6. Step 500

    500

    #E5437B

    oklch(63.1% 0.201 4.1)

  7. Step 600

    600

    #D00E64

    oklch(55.6% 0.218 4.2)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800 (this color)

    #8F0042

    oklch(41.9% 0.168 4)

  10. Step 900

    900

    #751639

    oklch(37.7% 0.131 4.3)

  11. Step 950

    950

    #451022

    oklch(27% 0.082 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#8F0042 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)#3136430.192
Deuteranopia (no green cones)#54503F0.172
Tritanopia (no blue cones)#9D00240.055
Achromatopsia (no color)#4747470.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F0042

    #8F0042

    oklch(41.9% 0.168 4)

  • #005A51

    #005A51

    oklch(42% 0.075 183.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F0042

    #8F0042

    oklch(41.9% 0.168 4)

  • #7E1671

    #7E1671

    oklch(41.8% 0.168 334.1)

  • #8C1D00

    #8C1D00

    oklch(41.8% 0.15 34.1)

Open the analogous palette in the generator

Split complementary

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

  • #8F0042

    #8F0042

    oklch(41.9% 0.168 4)

  • #005D31

    #005D31

    oklch(42% 0.106 154.1)

  • #005765

    #005765

    oklch(42% 0.074 213.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F0042

    #8F0042

    oklch(41.9% 0.168 4)

  • #415500

    #415500

    oklch(41.7% 0.103 123.8)

  • #005180

    #005180

    oklch(41.9% 0.103 243.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F0042

    #8F0042

    oklch(41.9% 0.168 4)

  • #5C4B00

    #5C4B00

    oklch(41.8% 0.086 94)

  • #005A51

    #005A51

    oklch(42% 0.075 183.2)

  • #353BA6

    #353BA6

    oklch(41.8% 0.169 274)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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