#52171B

Closest named color: Burgundy (#610023). oklch(30.3% 0.088 20.3), rgb(82, 23, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.49:1
White text14.02:1

Values

HEX#52171B
RGBrgb(82, 23, 27)
HSLhsl(356, 56%, 21%)
OKLCHoklch(30.3% 0.088 20.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 #52171B 14.02:1 AAA Lc -103.2 Preferred for body text
Black text on #52171B 1.49:1 Fails Lc 0.0 Not readable
#52171B text on white 14.02:1 AAA Lc 100.1 Preferred for body text
#52171B text on black 1.49: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FDCBC9

    oklch(88.5% 0.057 21)

  4. Step 300

    300

    #FDA5A4

    oklch(80.9% 0.105 20.3)

  5. Step 400

    400

    #F76F74

    oklch(70.7% 0.167 20.1)

  6. Step 500

    500

    #EE3C50

    oklch(63% 0.213 20.1)

  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

    #970023

    oklch(42.8% 0.172 20.4)

  10. Step 900

    900

    #7B1020

    oklch(37.8% 0.139 20.3)

  11. Step 950

    950 (this color)

    #52171B

    oklch(30.3% 0.088 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#52171B 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.096
Deuteranopia (no green cones)#3530190.088
Tritanopia (no blue cones)#5A0A190.023
Achromatopsia (no color)#2C2C2C0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #52171B

    #52171B

    oklch(30.3% 0.088 20.3)

  • #003639

    #003639

    oklch(30.3% 0.051 200.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52171B

    #52171B

    oklch(30.3% 0.088 20.3)

  • #4D1834

    #4D1834

    oklch(30.3% 0.087 350.8)

  • #4D2000

    #4D2000

    oklch(30.4% 0.08 50.5)

Open the analogous palette in the generator

Split complementary

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

  • #52171B

    #52171B

    oklch(30.3% 0.088 20.3)

  • #00382A

    #00382A

    oklch(30.3% 0.06 170.2)

  • #003347

    #003347

    oklch(30.1% 0.061 231.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52171B

    #52171B

    oklch(30.3% 0.088 20.3)

  • #113807

    #113807

    oklch(30.1% 0.087 140)

  • #122D5A

    #122D5A

    oklch(30.4% 0.087 260)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52171B

    #52171B

    oklch(30.3% 0.088 20.3)

  • #313100

    #313100

    oklch(30.3% 0.066 109.8)

  • #003639

    #003639

    oklch(30.3% 0.051 200.8)

  • #2F2457

    #2F2457

    oklch(30.3% 0.089 290)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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