#52223F

Closest named color: Grape Purple (#5D1451). oklch(33.1% 0.082 345.2), rgb(82, 34, 63).

Aa

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

About this color

#52223F is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.082 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.049 away. White text reads best on it, at 12.65:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.65:1
White text12.65:1

Values

HEX#52223F
RGBrgb(82, 34, 63)
HSLhsl(324, 41%, 23%)
OKLCHoklch(33.1% 0.082 345.2)

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 #52223F 12.65:1 AAA Lc -101.7 Preferred for body text
Black text on #52223F 1.65:1 Fails Lc 0.0 Not readable
#52223F text on white 12.65:1 AAA Lc 98.3 Preferred for body text
#52223F text on black 1.65:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EC

    oklch(93.5% 0.018 345.6)

  3. Step 200

    200

    #EBD1DE

    oklch(88.6% 0.034 346.1)

  4. Step 300

    300

    #DFB1C9

    oklch(80.9% 0.062 345.9)

  5. Step 400

    400

    #CD88AE

    oklch(70.8% 0.097 345.7)

  6. Step 500

    500

    #BE689A

    oklch(63.1% 0.125 345.4)

  7. Step 600

    600

    #A94E85

    oklch(55.6% 0.136 345.2)

  8. Step 700

    700

    #913E71

    oklch(49.1% 0.128 345)

  9. Step 800

    800

    #76345C

    oklch(42.7% 0.105 345.1)

  10. Step 900

    900 (this color)

    #52223F

    oklch(33.1% 0.082 345.2)

  11. Step 950

    950

    #381B2C

    oklch(26.9% 0.052 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#52223F 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)#262E400.088
Deuteranopia (no green cones)#33363E0.079
Tritanopia (no blue cones)#57222D0.034
Achromatopsia (no color)#3333330.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #52223F

    #52223F

    oklch(33.1% 0.082 345.2)

  • #00412D

    #00412D

    oklch(33.3% 0.07 165.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52223F

    #52223F

    oklch(33.1% 0.082 345.2)

  • #452752

    #452752

    oklch(33.1% 0.081 314.9)

  • #582128

    #582128

    oklch(33.1% 0.081 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #52223F

    #52223F

    oklch(33.1% 0.082 345.2)

  • #223F0E

    #223F0E

    oklch(33.3% 0.082 135.1)

  • #003F3F

    #003F3F

    oklch(33.3% 0.057 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52223F

    #52223F

    oklch(33.1% 0.082 345.2)

  • #3B3700

    #3B3700

    oklch(33% 0.07 105.1)

  • #003C4E

    #003C4E

    oklch(33.1% 0.063 225.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52223F

    #52223F

    oklch(33.1% 0.082 345.2)

  • #4A3000

    #4A3000

    oklch(33.2% 0.07 76.2)

  • #00412D

    #00412D

    oklch(33.3% 0.07 165.2)

  • #15365F

    #15365F

    oklch(33.2% 0.082 255.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52223F 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.