#51213A

Closest named color: Grape Purple (#5D1451). oklch(32.6% 0.079 349.9), rgb(81, 33, 58).

Aa

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

About this color

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

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

Values

HEX#51213A
RGBrgb(81, 33, 58)
HSLhsl(329, 42%, 22%)
OKLCHoklch(32.6% 0.079 349.9)

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 #51213A 12.89:1 AAA Lc -102.1 Preferred for body text
Black text on #51213A 1.62:1 Fails Lc 0.0 Not readable
#51213A text on white 12.89:1 AAA Lc 98.7 Preferred for body text
#51213A text on black 1.62: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

    #F3E5EB

    oklch(93.5% 0.017 349.5)

  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

    #CE88A9

    oklch(70.7% 0.095 350)

  6. Step 500

    500

    #BF6994

    oklch(63.1% 0.121 349.8)

  7. Step 600

    600

    #AA4F7E

    oklch(55.6% 0.131 350)

  8. Step 700

    700

    #923F6A

    oklch(49.1% 0.123 350.3)

  9. Step 800

    800

    #763557

    oklch(42.7% 0.1 349.6)

  10. Step 900

    900 (this color)

    #51213A

    oklch(32.6% 0.079 349.9)

  11. Step 950

    950

    #381C2A

    oklch(27% 0.049 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#51213A 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)#272C3B0.085
Deuteranopia (no green cones)#3335390.079
Tritanopia (no blue cones)#571F2B0.028
Achromatopsia (no color)#3232320.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #51213A

    #51213A

    oklch(32.6% 0.079 349.9)

  • #003F2F

    #003F2F

    oklch(32.7% 0.065 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51213A

    #51213A

    oklch(32.6% 0.079 349.9)

  • #46254D

    #46254D

    oklch(32.6% 0.08 320.4)

  • #562123

    #562123

    oklch(32.7% 0.079 20.2)

Open the analogous palette in the generator

Split complementary

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

  • #51213A

    #51213A

    oklch(32.6% 0.079 349.9)

  • #1C3E14

    #1C3E14

    oklch(32.7% 0.079 139.9)

  • #003D3F

    #003D3F

    oklch(32.7% 0.056 198.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51213A

    #51213A

    oklch(32.6% 0.079 349.9)

  • #373700

    #373700

    oklch(32.6% 0.071 109.8)

  • #003A4F

    #003A4F

    oklch(32.6% 0.065 229.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51213A

    #51213A

    oklch(32.6% 0.079 349.9)

  • #463000

    #463000

    oklch(32.6% 0.067 80.8)

  • #003F2F

    #003F2F

    oklch(32.7% 0.065 169.4)

  • #1B335C

    #1B335C

    oklch(32.5% 0.079 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 #51213A, closest first.

Similar named colors

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

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