#842F52

Closest named color: Mulberry (#920A4E). oklch(43.9% 0.122 357.8), rgb(132, 47, 82).

Aa

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

About this color

#842F52 is a dark, moderately saturated red. In OKLCH its lightness is 44%, its chroma 0.122 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.048 away. White text reads best on it, at 8.36:1.

Hue familyReds
Lightnessdark (44%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.50:1
White text8.36:1

Values

HEX#842F52
RGBrgb(132, 47, 82)
HSLhsl(335, 47%, 35%)
OKLCHoklch(43.9% 0.122 357.8)

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 #842F52 8.36:1 AAA Lc -92.8 Preferred for body text
Black text on #842F52 2.50:1 Fails Lc 15.8 Dividers and decoration only
#842F52 text on white 8.36:1 AAA Lc 88.2 Fine for body text
#842F52 text on black 2.50:1 Fails Lc -14.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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F0CFD9

    oklch(88.5% 0.039 357.7)

  4. Step 300

    300

    #E8AEC0

    oklch(80.9% 0.071 358.4)

  5. Step 400

    400

    #D981A0

    oklch(70.6% 0.114 357.8)

  6. Step 500

    500

    #CD5F89

    oklch(63.1% 0.146 358.1)

  7. Step 600

    600

    #B84273

    oklch(55.6% 0.159 357.9)

  8. Step 700

    700

    #9E3361

    oklch(49.1% 0.148 357.6)

  9. Step 800

    800 (this color)

    #842F52

    oklch(43.9% 0.122 357.8)

  10. Step 900

    900

    #682841

    oklch(37.7% 0.096 358.3)

  11. Step 950

    950

    #3D1826

    oklch(26.9% 0.061 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#842F52 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)#3E44530.135
Deuteranopia (no green cones)#5554500.123
Tritanopia (no blue cones)#8E283D0.037
Achromatopsia (no color)#4E4E4E0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #842F52

    #842F52

    oklch(43.9% 0.122 357.8)

  • #006052

    #006052

    oklch(43.8% 0.08 178.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842F52

    #842F52

    oklch(43.9% 0.122 357.8)

  • #743574

    #743574

    oklch(43.8% 0.123 327.4)

  • #89312A

    #89312A

    oklch(43.9% 0.122 27.7)

Open the analogous palette in the generator

Split complementary

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

  • #842F52

    #842F52

    oklch(43.9% 0.122 357.8)

  • #0B6327

    #0B6327

    oklch(43.8% 0.121 148)

  • #005D68

    #005D68

    oklch(43.8% 0.075 208.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842F52

    #842F52

    oklch(43.9% 0.122 357.8)

  • #4E5900

    #4E5900

    oklch(43.9% 0.102 117.7)

  • #005881

    #005881

    oklch(43.7% 0.098 238.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842F52

    #842F52

    oklch(43.9% 0.122 357.8)

  • #674E00

    #674E00

    oklch(43.8% 0.09 87.3)

  • #006052

    #006052

    oklch(43.8% 0.08 178.2)

  • #354C95

    #354C95

    oklch(43.8% 0.123 267.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #842F52 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.