#842148

Closest named color: Red Purple (#820747). oklch(41.9% 0.137 1.3), rgb(132, 33, 72).

Aa

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

About this color

#842148 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.137 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.031 away. White text reads best on it, at 9.16:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.29:1
White text9.16:1

Values

HEX#842148
RGBrgb(132, 33, 72)
HSLhsl(336, 60%, 32%)
OKLCHoklch(41.9% 0.137 1.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 #842148 9.16:1 AAA Lc -94.5 Preferred for body text
Black text on #842148 2.29:1 Fails Lc 13.9 Not readable
#842148 text on white 9.16:1 AAA Lc 90.0 Preferred for body text
#842148 text on black 2.29:1 Fails Lc -12.2 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

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F4CED7

    oklch(88.6% 0.044 2.1)

  4. Step 300

    300

    #EDABBD

    oklch(80.8% 0.08 1.1)

  5. Step 400

    400

    #E17D9B

    oklch(70.8% 0.127 1.7)

  6. Step 500

    500

    #D55783

    oklch(63% 0.164 1.2)

  7. Step 600

    600

    #C0376D

    oklch(55.5% 0.178 0.9)

  8. Step 700

    700

    #A6285B

    oklch(49.2% 0.166 1.1)

  9. Step 800

    800 (this color)

    #842148

    oklch(41.9% 0.137 1.3)

  10. Step 900

    900

    #6C233E

    oklch(37.6% 0.107 0.8)

  11. Step 950

    950

    #401624

    oklch(27% 0.067 1.8)

Export this scale for Tailwind in the Tailwind colors tool

#842148 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)#373C490.153
Deuteranopia (no green cones)#514F460.139
Tritanopia (no blue cones)#9011310.041
Achromatopsia (no color)#4848480.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #842148

    #842148

    oklch(41.9% 0.137 1.3)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842148

    #842148

    oklch(41.9% 0.137 1.3)

  • #75296E

    #75296E

    oklch(42% 0.137 331.5)

  • #882416

    #882416

    oklch(41.9% 0.138 31.2)

Open the analogous palette in the generator

Split complementary

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

  • #842148

    #842148

    oklch(41.9% 0.137 1.3)

  • #005D2B

    #005D2B

    oklch(41.9% 0.112 151.4)

  • #005763

    #005763

    oklch(41.9% 0.073 210.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842148

    #842148

    oklch(41.9% 0.137 1.3)

  • #455500

    #455500

    oklch(42.1% 0.101 121.4)

  • #00527D

    #00527D

    oklch(41.9% 0.098 241.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842148

    #842148

    oklch(41.9% 0.137 1.3)

  • #5E4A00

    #5E4A00

    oklch(41.8% 0.085 90.9)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

  • #334396

    #334396

    oklch(41.9% 0.137 271.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #842148 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.