#8E3157

Closest named color: Berry (#990F4B). oklch(45.9% 0.131 358.3), rgb(142, 49, 87).

Aa

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

About this color

#8E3157 is a medium-dark, moderately saturated red. In OKLCH its lightness is 46%, its chroma 0.131 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.044 away. White text reads best on it, at 7.70:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.72:1
White text7.70:1

Values

HEX#8E3157
RGBrgb(142, 49, 87)
HSLhsl(335, 49%, 37%)
OKLCHoklch(45.9% 0.131 358.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 #8E3157 7.70:1 AAA Lc -90.8 Preferred for body text
Black text on #8E3157 2.72:1 Fails Lc 18.0 Dividers and decoration only
#8E3157 text on white 7.70:1 AAA Lc 86.0 Fine for body text
#8E3157 text on black 2.72:1 Fails Lc -16.1 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 700.

  1. Step 50

    50

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F5E5EA

    oklch(93.6% 0.019 356.4)

  3. Step 200

    200

    #EED0D9

    oklch(88.5% 0.035 357.8)

  4. Step 300

    300

    #E4B0C0

    oklch(80.9% 0.064 358.4)

  5. Step 400

    400

    #D485A0

    oklch(70.6% 0.102 358)

  6. Step 500

    500

    #C76589

    oklch(63.2% 0.13 358.2)

  7. Step 600

    600

    #B24A72

    oklch(55.6% 0.141 358.7)

  8. Step 700

    700 (this color)

    #8E3157

    oklch(45.9% 0.131 358.3)

  9. Step 800

    800

    #7C314E

    oklch(42.7% 0.109 358.6)

  10. Step 900

    900

    #642C41

    oklch(37.7% 0.085 358.3)

  11. Step 950

    950

    #3B1A26

    oklch(27% 0.054 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#8E3157 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)#4248580.145
Deuteranopia (no green cones)#5B59550.131
Tritanopia (no blue cones)#9928400.040
Achromatopsia (no color)#5353530.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E3157

    #8E3157

    oklch(45.9% 0.131 358.3)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E3157

    #8E3157

    oklch(45.9% 0.131 358.3)

  • #7D387C

    #7D387C

    oklch(45.9% 0.131 328)

  • #93332B

    #93332B

    oklch(45.9% 0.131 28.1)

Open the analogous palette in the generator

Split complementary

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

  • #8E3157

    #8E3157

    oklch(45.9% 0.131 358.3)

  • #016A29

    #016A29

    oklch(45.8% 0.131 148.4)

  • #00646F

    #00646F

    oklch(46% 0.079 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E3157

    #8E3157

    oklch(45.9% 0.131 358.3)

  • #535F00

    #535F00

    oklch(45.9% 0.107 117.9)

  • #005E8A

    #005E8A

    oklch(45.8% 0.103 238.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E3157

    #8E3157

    oklch(45.9% 0.131 358.3)

  • #6D5400

    #6D5400

    oklch(45.9% 0.094 88.6)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

  • #3951A0

    #3951A0

    oklch(45.9% 0.131 268.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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