#511227

Closest named color: Burgundy (#610023). oklch(29.8% 0.094 4.8), rgb(81, 18, 39).

Aa

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

About this color

#511227 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.094 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.037 away. White text reads best on it, at 14.32:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.46:1
White text14.32:1

Values

HEX#511227
RGBrgb(81, 18, 39)
HSLhsl(340, 64%, 19%)
OKLCHoklch(29.8% 0.094 4.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 #511227 14.32:1 AAA Lc -103.4 Preferred for body text
Black text on #511227 1.46:1 Fails Lc 0.0 Not readable
#511227 text on white 14.32:1 AAA Lc 100.4 Preferred for body text
#511227 text on black 1.46: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

    #FFF2F4

    oklch(97.2% 0.014 6.7)

  2. Step 100

    100

    #FEE1E7

    oklch(93.5% 0.033 3.7)

  3. Step 200

    200

    #FEC9D4

    oklch(88.5% 0.062 4.5)

  4. Step 300

    300

    #FEA2B7

    oklch(81% 0.111 5)

  5. Step 400

    400

    #F86892

    oklch(70.7% 0.18 4.7)

  6. Step 500

    500

    #F02E77

    oklch(63.2% 0.229 5)

  7. Step 600

    600

    #D20062

    oklch(55.6% 0.223 4.8)

  8. Step 700

    700

    #B20052

    oklch(49.1% 0.197 4.8)

  9. Step 800

    800

    #930043

    oklch(42.7% 0.172 4.5)

  10. Step 900

    900

    #7B0337

    oklch(37.7% 0.149 4.8)

  11. Step 950

    950 (this color)

    #511227

    oklch(29.8% 0.094 4.8)

Export this scale for Tailwind in the Tailwind colors tool

#511227 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)#2022270.106
Deuteranopia (no green cones)#312F260.096
Tritanopia (no blue cones)#59071B0.026
Achromatopsia (no color)#2A2A2A0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #511227

    #511227

    oklch(29.8% 0.094 4.8)

  • #003631

    #003631

    oklch(29.9% 0.053 184.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511227

    #511227

    oklch(29.8% 0.094 4.8)

  • #481640

    #481640

    oklch(29.8% 0.095 334.5)

  • #521506

    #521506

    oklch(29.7% 0.094 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #511227

    #511227

    oklch(29.8% 0.094 4.8)

  • #00381C

    #00381C

    oklch(29.9% 0.074 154.8)

  • #00343E

    #00343E

    oklch(29.9% 0.053 214.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511227

    #511227

    oklch(29.8% 0.094 4.8)

  • #253300

    #253300

    oklch(29.7% 0.074 124.6)

  • #003050

    #003050

    oklch(29.9% 0.075 244.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511227

    #511227

    oklch(29.8% 0.094 4.8)

  • #372C00

    #372C00

    oklch(29.7% 0.061 94.1)

  • #003631

    #003631

    oklch(29.9% 0.053 184.9)

  • #21265B

    #21265B

    oklch(29.7% 0.094 275.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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