#51171B

Closest named color: Burgundy (#610023). oklch(30.1% 0.087 20.1), rgb(81, 23, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.48:1
White text14.11:1

Values

HEX#51171B
RGBrgb(81, 23, 27)
HSLhsl(356, 56%, 20%)
OKLCHoklch(30.1% 0.087 20.1)

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 #51171B 14.11:1 AAA Lc -103.3 Preferred for body text
Black text on #51171B 1.48:1 Fails Lc 0.0 Not readable
#51171B text on white 14.11:1 AAA Lc 100.2 Preferred for body text
#51171B text on black 1.48: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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE3E2

    oklch(93.7% 0.029 20.3)

  3. Step 200

    200

    #FDCBCA

    oklch(88.5% 0.057 19.6)

  4. Step 300

    300

    #FCA6A5

    oklch(80.9% 0.102 20.3)

  5. Step 400

    400

    #F67075

    oklch(70.7% 0.165 20)

  6. Step 500

    500

    #ED3F51

    oklch(63.1% 0.209 20.2)

  7. Step 600

    600

    #D70037

    oklch(55.6% 0.223 20.1)

  8. Step 700

    700

    #B6002D

    oklch(49.1% 0.197 20.1)

  9. Step 800

    800

    #970024

    oklch(42.8% 0.172 20)

  10. Step 900

    900

    #7A1221

    oklch(37.7% 0.137 20.1)

  11. Step 950

    950 (this color)

    #51171B

    oklch(30.1% 0.087 20.1)

Export this scale for Tailwind in the Tailwind colors tool

#51171B 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)#26241B0.094
Deuteranopia (no green cones)#3530190.087
Tritanopia (no blue cones)#590A190.023
Achromatopsia (no color)#2B2B2B0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #51171B

    #51171B

    oklch(30.1% 0.087 20.1)

  • #003538

    #003538

    oklch(29.9% 0.051 200.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51171B

    #51171B

    oklch(30.1% 0.087 20.1)

  • #4C1834

    #4C1834

    oklch(30.1% 0.086 350.1)

  • #4C1F00

    #4C1F00

    oklch(30% 0.079 50)

Open the analogous palette in the generator

Split complementary

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

  • #51171B

    #51171B

    oklch(30.1% 0.087 20.1)

  • #003729

    #003729

    oklch(30% 0.059 169.9)

  • #003346

    #003346

    oklch(30.1% 0.06 229.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51171B

    #51171B

    oklch(30.1% 0.087 20.1)

  • #113807

    #113807

    oklch(30.1% 0.087 140)

  • #122C59

    #122C59

    oklch(30.1% 0.087 260.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51171B

    #51171B

    oklch(30.1% 0.087 20.1)

  • #303000

    #303000

    oklch(29.9% 0.065 109.8)

  • #003538

    #003538

    oklch(29.9% 0.051 200.9)

  • #2F2456

    #2F2456

    oklch(30.2% 0.087 290.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51171B 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.