#8A2F54

Closest named color: Berry (#990F4B). oklch(44.9% 0.129 358.5), rgb(138, 47, 84).

Aa

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

About this color

#8A2F54 is a dark, moderately saturated red. In OKLCH its lightness is 45%, its chroma 0.129 and its hue 359°. 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 8.02:1.

Hue familyReds
Lightnessdark (45%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.61:1
White text8.02:1

Values

HEX#8A2F54
RGBrgb(138, 47, 84)
HSLhsl(336, 49%, 36%)
OKLCHoklch(44.9% 0.129 358.5)

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 #8A2F54 8.02:1 AAA Lc -91.8 Preferred for body text
Black text on #8A2F54 2.61:1 Fails Lc 16.9 Dividers and decoration only
#8A2F54 text on white 8.02:1 AAA Lc 87.1 Fine for body text
#8A2F54 text on black 2.61:1 Fails Lc -15.0 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F7E4E9

    oklch(93.5% 0.022 359.7)

  3. Step 200

    200

    #F2CED9

    oklch(88.5% 0.043 357.7)

  4. Step 300

    300

    #EAADC0

    oklch(81% 0.075 358.5)

  5. Step 400

    400

    #DC7F9F

    oklch(70.6% 0.12 358.6)

  6. Step 500

    500

    #D05C88

    oklch(63.1% 0.153 358.6)

  7. Step 600

    600

    #BB3E72

    oklch(55.6% 0.167 358.4)

  8. Step 700

    700

    #A12F5F

    oklch(49.1% 0.155 358.8)

  9. Step 800

    800 (this color)

    #8A2F54

    oklch(44.9% 0.129 358.5)

  10. Step 900

    900

    #6A2641

    oklch(37.7% 0.101 358.4)

  11. Step 950

    950

    #3E1726

    oklch(26.9% 0.064 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A2F54 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)#3F45550.144
Deuteranopia (no green cones)#5857520.131
Tritanopia (no blue cones)#95263E0.039
Achromatopsia (no color)#5050500.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2F54

    #8A2F54

    oklch(44.9% 0.129 358.5)

  • #006455

    #006455

    oklch(45% 0.083 177.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2F54

    #8A2F54

    oklch(44.9% 0.129 358.5)

  • #7A3678

    #7A3678

    oklch(45% 0.129 328.6)

  • #8F3128

    #8F3128

    oklch(44.9% 0.129 28.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A2F54

    #8A2F54

    oklch(44.9% 0.129 358.5)

  • #006728

    #006728

    oklch(44.8% 0.128 148.6)

  • #00606C

    #00606C

    oklch(44.8% 0.077 209.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2F54

    #8A2F54

    oklch(44.9% 0.129 358.5)

  • #505C00

    #505C00

    oklch(44.9% 0.105 118.1)

  • #005B86

    #005B86

    oklch(44.8% 0.101 238.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2F54

    #8A2F54

    oklch(44.9% 0.129 358.5)

  • #6A5100

    #6A5100

    oklch(44.9% 0.092 88)

  • #006455

    #006455

    oklch(45% 0.083 177.7)

  • #374E9C

    #374E9C

    oklch(44.9% 0.13 268.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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