#512227

Closest named color: Burgundy (#610023). oklch(32.1% 0.071 15.3), rgb(81, 34, 39).

Aa

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

About this color

#512227 is a dark, moderately saturated red. In OKLCH its lightness is 32%, its chroma 0.071 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.057 away. White text reads best on it, at 13.05:1.

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.60:1
White text13.05:1

Values

HEX#512227
RGBrgb(81, 34, 39)
HSLhsl(354, 41%, 23%)
OKLCHoklch(32.1% 0.071 15.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 #512227 13.05:1 AAA Lc -102.3 Preferred for body text
Black text on #512227 1.60:1 Fails Lc 0.0 Not readable
#512227 text on white 13.05:1 AAA Lc 99.0 Preferred for body text
#512227 text on black 1.60: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 950.

  1. Step 50

    50

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #FAE4E4

    oklch(93.7% 0.024 17.6)

  3. Step 200

    200

    #F6CDCF

    oklch(88.4% 0.046 14.8)

  4. Step 300

    300

    #F2ABAF

    oklch(81% 0.084 15.4)

  5. Step 400

    400

    #E77B85

    oklch(70.6% 0.133 15.2)

  6. Step 500

    500

    #DD5467

    oklch(63.1% 0.171 15.2)

  7. Step 600

    600

    #C8324E

    oklch(55.6% 0.185 15.5)

  8. Step 700

    700

    #AC223F

    oklch(49% 0.172 15.3)

  9. Step 800

    800

    #8C2034

    oklch(42.7% 0.143 15.6)

  10. Step 900

    900

    #71212E

    oklch(37.7% 0.112 14.9)

  11. Step 950

    950 (this color)

    #512227

    oklch(32.1% 0.071 15.3)

Export this scale for Tailwind in the Tailwind colors tool

#512227 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)#2C2B270.077
Deuteranopia (no green cones)#3834260.070
Tritanopia (no blue cones)#581C240.018
Achromatopsia (no color)#3131310.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #512227

    #512227

    oklch(32.1% 0.071 15.3)

  • #003B3C

    #003B3C

    oklch(31.9% 0.054 196.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512227

    #512227

    oklch(32.1% 0.071 15.3)

  • #4C233B

    #4C233B

    oklch(32.2% 0.07 345.6)

  • #502611

    #502611

    oklch(32.2% 0.071 45.5)

Open the analogous palette in the generator

Split complementary

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

  • #512227

    #512227

    oklch(32.1% 0.071 15.3)

  • #003E2B

    #003E2B

    oklch(32.2% 0.067 165.5)

  • #00394A

    #00394A

    oklch(32% 0.061 224.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512227

    #512227

    oklch(32.1% 0.071 15.3)

  • #223B13

    #223B13

    oklch(32.1% 0.071 135.4)

  • #183456

    #183456

    oklch(32.2% 0.07 254.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512227

    #512227

    oklch(32.1% 0.071 15.3)

  • #383500

    #383500

    oklch(32.2% 0.069 106.2)

  • #003B3C

    #003B3C

    oklch(31.9% 0.054 196.7)

  • #302D55

    #302D55

    oklch(32.1% 0.07 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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