#845172

Closest named color: Dull Purple (#84597E). oklch(50.4% 0.082 341.3), rgb(132, 81, 114).

Aa

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

About this color

#845172 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 50%, its chroma 0.082 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.024 away. White text reads best on it, at 6.17:1.

Hue familyPinks
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDull Purple (#84597E)
Black text3.40:1
White text6.17:1

Values

HEX#845172
RGBrgb(132, 81, 114)
HSLhsl(321, 24%, 42%)
OKLCHoklch(50.4% 0.082 341.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 #845172 6.17:1 AA Lc -85.8 Fine for body text
Black text on #845172 3.40:1 AA large text Lc 23.4 Dividers and decoration only
#845172 text on white 6.17:1 AA Lc 80.6 Fine for body text
#845172 text on black 3.40:1 AA large text Lc -21.2 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E4D4DD

    oklch(88.5% 0.021 342.6)

  4. Step 300

    300

    #D3B7C8

    oklch(80.8% 0.039 341)

  5. Step 400

    400

    #BD91AC

    oklch(70.6% 0.064 341.5)

  6. Step 500

    500

    #AB7698

    oklch(63.1% 0.081 340.9)

  7. Step 600

    600

    #965E82

    oklch(55.5% 0.088 341.4)

  8. Step 700

    700 (this color)

    #845172

    oklch(50.4% 0.082 341.3)

  9. Step 800

    800

    #68405A

    oklch(42.7% 0.067 341)

  10. Step 900

    900

    #55364A

    oklch(37.7% 0.054 341)

  11. Step 950

    950

    #32202B

    oklch(27% 0.033 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#845172 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)#535C730.084
Deuteranopia (no green cones)#6064710.077
Tritanopia (no blue cones)#8A525D0.036
Achromatopsia (no color)#6161610.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #845172

    #845172

    oklch(50.4% 0.082 341.3)

  • #337355

    #337355

    oklch(50.5% 0.082 161)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845172

    #845172

    oklch(50.4% 0.082 341.3)

  • #745687

    #745687

    oklch(50.4% 0.083 311.6)

  • #8C5058

    #8C5058

    oklch(50.4% 0.081 11.8)

Open the analogous palette in the generator

Split complementary

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

  • #845172

    #845172

    oklch(50.4% 0.082 341.3)

  • #536E3B

    #536E3B

    oklch(50.4% 0.082 131.6)

  • #137370

    #137370

    oklch(50.4% 0.082 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845172

    #845172

    oklch(50.4% 0.082 341.3)

  • #6E6629

    #6E6629

    oklch(50.4% 0.082 101.9)

  • #1F6F85

    #1F6F85

    oklch(50.5% 0.082 220.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845172

    #845172

    oklch(50.4% 0.082 341.3)

  • #815C2B

    #815C2B

    oklch(50.4% 0.081 71.7)

  • #337355

    #337355

    oklch(50.5% 0.082 161)

  • #3F6792

    #3F6792

    oklch(50.4% 0.083 251.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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