#831B48

Closest named color: Red Purple (#820747). oklch(41.2% 0.143 359.8), rgb(131, 27, 72).

Aa

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

About this color

#831B48 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.143 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.021 away. White text reads best on it, at 9.47:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.21:1
White text9.47:1

Values

HEX#831B48
RGBrgb(131, 27, 72)
HSLhsl(334, 66%, 31%)
OKLCHoklch(41.2% 0.143 359.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 #831B48 9.47:1 AAA Lc -95.1 Preferred for body text
Black text on #831B48 2.21:1 Fails Lc 13.3 Not readable
#831B48 text on white 9.47:1 AAA Lc 90.7 Preferred for body text
#831B48 text on black 2.21:1 Fails Lc -11.6 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E4E9

    oklch(93.7% 0.024 1.3)

  3. Step 200

    200

    #F4CDD8

    oklch(88.5% 0.046 359.2)

  4. Step 300

    300

    #EEAABE

    oklch(80.8% 0.083 359.9)

  5. Step 400

    400

    #E37B9D

    oklch(70.8% 0.133 0.2)

  6. Step 500

    500

    #D75486

    oklch(63.1% 0.171 359.5)

  7. Step 600

    600

    #C2336F

    oklch(55.5% 0.185 359.8)

  8. Step 700

    700

    #A7235D

    oklch(49% 0.173 359.7)

  9. Step 800

    800 (this color)

    #831B48

    oklch(41.2% 0.143 359.8)

  10. Step 900

    900

    #6E213F

    oklch(37.7% 0.112 0.1)

  11. Step 950

    950

    #411525

    oklch(27.1% 0.071 0.3)

Export this scale for Tailwind in the Tailwind colors tool

#831B48 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)#3339490.161
Deuteranopia (no green cones)#4F4D460.144
Tritanopia (no blue cones)#8E062F0.043
Achromatopsia (no color)#4646460.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #831B48

    #831B48

    oklch(41.2% 0.143 359.8)

  • #00584C

    #00584C

    oklch(41.2% 0.075 179.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #831B48

    #831B48

    oklch(41.2% 0.143 359.8)

  • #73256F

    #73256F

    oklch(41.3% 0.143 329.9)

  • #881E14

    #881E14

    oklch(41.3% 0.143 29.8)

Open the analogous palette in the generator

Split complementary

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

  • #831B48

    #831B48

    oklch(41.2% 0.143 359.8)

  • #005B26

    #005B26

    oklch(41.2% 0.114 149.8)

  • #005560

    #005560

    oklch(41.2% 0.071 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #831B48

    #831B48

    oklch(41.2% 0.143 359.8)

  • #455200

    #455200

    oklch(41.3% 0.098 119.6)

  • #005078

    #005078

    oklch(41.1% 0.094 239.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #831B48

    #831B48

    oklch(41.2% 0.143 359.8)

  • #5D4800

    #5D4800

    oklch(41.2% 0.084 89.5)

  • #00584C

    #00584C

    oklch(41.2% 0.075 179.4)

  • #2E4197

    #2E4197

    oklch(41.3% 0.142 269.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #831B48 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.