#51223A

Closest named color: Grape Purple (#5D1451). oklch(32.8% 0.077 350.3), rgb(81, 34, 58).

Aa

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

About this color

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

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

Values

HEX#51223A
RGBrgb(81, 34, 58)
HSLhsl(329, 41%, 23%)
OKLCHoklch(32.8% 0.077 350.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 #51223A 12.80:1 AAA Lc -101.9 Preferred for body text
Black text on #51223A 1.63:1 Fails Lc 0.0 Not readable
#51223A text on white 12.80:1 AAA Lc 98.6 Preferred for body text
#51223A text on black 1.63: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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F3E6EB

    oklch(93.7% 0.016 352)

  3. Step 200

    200

    #EBD1DC

    oklch(88.5% 0.032 350.3)

  4. Step 300

    300

    #DFB2C6

    oklch(81% 0.058 350)

  5. Step 400

    400

    #CD89A8

    oklch(70.8% 0.092 350.8)

  6. Step 500

    500

    #BE6A93

    oklch(63.1% 0.117 350.3)

  7. Step 600

    600

    #A9507D

    oklch(55.6% 0.128 350.5)

  8. Step 700

    700

    #91406A

    oklch(49.1% 0.12 350.1)

  9. Step 800

    800

    #763556

    oklch(42.7% 0.1 350.5)

  10. Step 900

    900 (this color)

    #51223A

    oklch(32.8% 0.077 350.3)

  11. Step 950

    950

    #381C2A

    oklch(27% 0.049 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#51223A 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)#272D3B0.084
Deuteranopia (no green cones)#3435390.076
Tritanopia (no blue cones)#57202B0.028
Achromatopsia (no color)#3232320.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #51223A

    #51223A

    oklch(32.8% 0.077 350.3)

  • #003F30

    #003F30

    oklch(32.7% 0.064 170.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51223A

    #51223A

    oklch(32.8% 0.077 350.3)

  • #46264D

    #46264D

    oklch(32.8% 0.078 320.2)

  • #562224

    #562224

    oklch(32.9% 0.077 20)

Open the analogous palette in the generator

Split complementary

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

  • #51223A

    #51223A

    oklch(32.8% 0.077 350.3)

  • #1C3E16

    #1C3E16

    oklch(32.7% 0.077 140.7)

  • #003D40

    #003D40

    oklch(32.7% 0.056 200.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51223A

    #51223A

    oklch(32.8% 0.077 350.3)

  • #373800

    #373800

    oklch(32.9% 0.072 110.9)

  • #003A50

    #003A50

    oklch(32.7% 0.066 231.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51223A

    #51223A

    oklch(32.8% 0.077 350.3)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

  • #003F30

    #003F30

    oklch(32.7% 0.064 170.7)

  • #1C345C

    #1C345C

    oklch(32.8% 0.077 260)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51223A 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.