#812252

Closest named color: Red Purple (#820747). oklch(41.9% 0.137 353.8), rgb(129, 34, 82).

Aa

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

About this color

#812252 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.137 and its hue 354°. 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.19:1.

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

Values

HEX#812252
RGBrgb(129, 34, 82)
HSLhsl(330, 58%, 32%)
OKLCHoklch(41.9% 0.137 353.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 #812252 9.19:1 AAA Lc -94.6 Preferred for body text
Black text on #812252 2.28:1 Fails Lc 13.8 Not readable
#812252 text on white 9.19:1 AAA Lc 90.2 Preferred for body text
#812252 text on black 2.28:1 Fails Lc -12.1 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

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDB

    oklch(88.6% 0.044 354.3)

  4. Step 300

    300

    #EBACC4

    oklch(81% 0.08 354.4)

  5. Step 400

    400

    #DE7DA6

    oklch(70.7% 0.128 354.1)

  6. Step 500

    500

    #D15891

    oklch(63% 0.164 353.4)

  7. Step 600

    600

    #BD397B

    oklch(55.7% 0.178 353.8)

  8. Step 700

    700

    #A22A67

    oklch(49.1% 0.165 354)

  9. Step 800

    800 (this color)

    #812252

    oklch(41.9% 0.137 353.8)

  10. Step 900

    900

    #6A2446

    oklch(37.7% 0.107 353.3)

  11. Step 950

    950

    #3F1629

    oklch(27.1% 0.069 353.7)

Export this scale for Tailwind in the Tailwind colors tool

#812252 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)#333D530.153
Deuteranopia (no green cones)#4D4E500.137
Tritanopia (no blue cones)#8B1A370.047
Achromatopsia (no color)#4848480.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #812252

    #812252

    oklch(41.9% 0.137 353.8)

  • #005A49

    #005A49

    oklch(41.7% 0.079 174.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812252

    #812252

    oklch(41.9% 0.137 353.8)

  • #6F2B76

    #6F2B76

    oklch(41.8% 0.138 323.9)

  • #882225

    #882225

    oklch(41.9% 0.137 23.9)

Open the analogous palette in the generator

Split complementary

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

  • #812252

    #812252

    oklch(41.9% 0.137 353.8)

  • #005E0D

    #005E0D

    oklch(41.8% 0.136 143.8)

  • #00585E

    #00585E

    oklch(41.9% 0.071 202.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812252

    #812252

    oklch(41.9% 0.137 353.8)

  • #4D5200

    #4D5200

    oklch(42% 0.094 113.8)

  • #005475

    #005475

    oklch(42% 0.087 233.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812252

    #812252

    oklch(41.9% 0.137 353.8)

  • #634800

    #634800

    oklch(42% 0.086 83.9)

  • #005A49

    #005A49

    oklch(41.7% 0.079 174.1)

  • #244796

    #244796

    oklch(42% 0.136 263.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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