#8A2F4D

Closest named color: Berry (#990F4B). oklch(44.7% 0.126 3.4), rgb(138, 47, 77).

Aa

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

About this color

#8A2F4D is a dark, moderately saturated red. In OKLCH its lightness is 45%, its chroma 0.126 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.045 away. White text reads best on it, at 8.09:1.

Hue familyReds
Lightnessdark (45%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.59:1
White text8.09:1

Values

HEX#8A2F4D
RGBrgb(138, 47, 77)
HSLhsl(340, 49%, 36%)
OKLCHoklch(44.7% 0.126 3.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 #8A2F4D 8.09:1 AAA Lc -92.0 Preferred for body text
Black text on #8A2F4D 2.59:1 Fails Lc 16.7 Dividers and decoration only
#8A2F4D text on white 8.09:1 AAA Lc 87.3 Fine for body text
#8A2F4D text on black 2.59:1 Fails Lc -14.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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F7E4E8

    oklch(93.5% 0.021 3.1)

  3. Step 200

    200

    #F2CED6

    oklch(88.4% 0.042 3)

  4. Step 300

    300

    #EAADBB

    oklch(80.8% 0.073 3.7)

  5. Step 400

    400

    #DD8099

    oklch(70.7% 0.118 3.3)

  6. Step 500

    500

    #D15C80

    oklch(63% 0.152 3.2)

  7. Step 600

    600

    #BC3F69

    oklch(55.6% 0.163 3.5)

  8. Step 700

    700

    #A23058

    oklch(49.2% 0.152 3.3)

  9. Step 800

    800 (this color)

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  10. Step 900

    900

    #6A273C

    oklch(37.7% 0.098 3.5)

  11. Step 950

    950

    #3E1823

    oklch(27% 0.061 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A2F4D 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)#41454E0.141
Deuteranopia (no green cones)#59564B0.128
Tritanopia (no blue cones)#96243B0.035
Achromatopsia (no color)#5050500.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2F4D

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  • #006259

    #006259

    oklch(44.6% 0.079 184)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2F4D

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  • #7C3571

    #7C3571

    oklch(44.7% 0.125 333.8)

  • #8D3320

    #8D3320

    oklch(44.7% 0.127 33.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A2F4D

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  • #006635

    #006635

    oklch(44.8% 0.114 153.6)

  • #005F6E

    #005F6E

    oklch(44.6% 0.078 213.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2F4D

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  • #495E00

    #495E00

    oklch(44.8% 0.11 123.4)

  • #00598B

    #00598B

    oklch(44.6% 0.109 243.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2F4D

    #8A2F4D

    oklch(44.7% 0.126 3.4)

  • #665300

    #665300

    oklch(44.8% 0.092 93.6)

  • #006259

    #006259

    oklch(44.6% 0.079 184)

  • #3F4C99

    #3F4C99

    oklch(44.7% 0.126 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 #8A2F4D, closest first.

Similar named colors

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

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