#812157

Closest named color: Red Purple (#820747). oklch(42% 0.141 350.4), rgb(129, 33, 87).

Aa

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

About this color

#812157 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.141 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.033 away. White text reads best on it, at 9.17:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.28:1
White text9.17:1

Values

HEX#812157
RGBrgb(129, 33, 87)
HSLhsl(326, 59%, 32%)
OKLCHoklch(42% 0.141 350.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 #812157 9.17:1 AAA Lc -94.6 Preferred for body text
Black text on #812157 2.28:1 Fails Lc 13.9 Not readable
#812157 text on white 9.17:1 AAA Lc 90.1 Preferred for body text
#812157 text on black 2.28: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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDD

    oklch(88.4% 0.046 350.2)

  4. Step 300

    300

    #EAABC8

    oklch(80.8% 0.082 349.9)

  5. Step 400

    400

    #DD7CAB

    oklch(70.6% 0.132 350.6)

  6. Step 500

    500

    #D15797

    oklch(63.1% 0.168 350.4)

  7. Step 600

    600

    #BC3781

    oklch(55.6% 0.183 350.5)

  8. Step 700

    700

    #A2286D

    oklch(49.1% 0.17 350.7)

  9. Step 800

    800 (this color)

    #812157

    oklch(42% 0.141 350.4)

  10. Step 900

    900

    #6A2349

    oklch(37.7% 0.11 350.5)

  11. Step 950

    950

    #3E162B

    oklch(27% 0.069 350)

Export this scale for Tailwind in the Tailwind colors tool

#812157 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)#303D580.158
Deuteranopia (no green cones)#4C4E550.139
Tritanopia (no blue cones)#8B1B390.052
Achromatopsia (no color)#4848480.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #812157

    #812157

    oklch(42% 0.141 350.4)

  • #005B46

    #005B46

    oklch(41.9% 0.083 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812157

    #812157

    oklch(42% 0.141 350.4)

  • #6D2C7B

    #6D2C7B

    oklch(41.9% 0.14 320.2)

  • #891F2A

    #891F2A

    oklch(41.9% 0.141 20.5)

Open the analogous palette in the generator

Split complementary

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

  • #812157

    #812157

    oklch(42% 0.141 350.4)

  • #155D00

    #155D00

    oklch(41.8% 0.136 140.5)

  • #00585C

    #00585C

    oklch(41.9% 0.071 200.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812157

    #812157

    oklch(42% 0.141 350.4)

  • #505100

    #505100

    oklch(42% 0.092 110.6)

  • #005572

    #005572

    oklch(42.1% 0.084 230)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812157

    #812157

    oklch(42% 0.141 350.4)

  • #654700

    #654700

    oklch(42% 0.087 81)

  • #005B46

    #005B46

    oklch(41.9% 0.083 170.2)

  • #194898

    #194898

    oklch(41.9% 0.141 260.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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