#510127

Closest named color: Burgundy (#610023). oklch(28.3% 0.113 0.2), rgb(81, 1, 39).

Aa

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

About this color

#510127 is a dark, moderately saturated red. In OKLCH its lightness is 28%, its chroma 0.113 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.040 away. White text reads best on it, at 15.17:1.

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.113)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.38:1
White text15.17:1

Values

HEX#510127
RGBrgb(81, 1, 39)
HSLhsl(332, 98%, 16%)
OKLCHoklch(28.3% 0.113 0.2)

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 #510127 15.17:1 AAA Lc -103.7 Preferred for body text
Black text on #510127 1.38:1 Fails Lc 0.0 Not readable
#510127 text on white 15.17:1 AAA Lc 100.7 Preferred for body text
#510127 text on black 1.38: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

    #FFF1F5

    oklch(97% 0.016 358)

  2. Step 100

    100

    #FFE1E9

    oklch(93.7% 0.035 359.8)

  3. Step 200

    200

    #FFC8D7

    oklch(88.5% 0.065 0.4)

  4. Step 300

    300

    #FFA0BD

    oklch(80.9% 0.117 0.3)

  5. Step 400

    400

    #FF5D9B

    oklch(70.7% 0.203 0.1)

  6. Step 500

    500

    #F60083

    oklch(63% 0.256 360)

  7. Step 600

    600

    #D0006D

    oklch(55.5% 0.225 0.3)

  8. Step 700

    700

    #B0005C

    oklch(49% 0.199 360)

  9. Step 800

    800

    #92004B

    oklch(42.7% 0.173 0.1)

  10. Step 900

    900

    #7B003E

    oklch(37.7% 0.153 0.2)

  11. Step 950

    950 (this color)

    #510127

    oklch(28.3% 0.113 0.2)

Export this scale for Tailwind in the Tailwind colors tool

#510127 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)#171C280.130
Deuteranopia (no green cones)#2D2B250.114
Tritanopia (no blue cones)#5900140.038
Achromatopsia (no color)#2626260.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #510127

    #510127

    oklch(28.3% 0.113 0.2)

  • #00322A

    #00322A

    oklch(28.4% 0.052 178.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #510127

    #510127

    oklch(28.3% 0.113 0.2)

  • #460A43

    #460A43

    oklch(28.3% 0.113 330.3)

  • #540300

    #540300

    oklch(28.3% 0.112 30.3)

Open the analogous palette in the generator

Split complementary

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

  • #510127

    #510127

    oklch(28.3% 0.113 0.2)

  • #003413

    #003413

    oklch(28.4% 0.078 150)

  • #003037

    #003037

    oklch(28.3% 0.049 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #510127

    #510127

    oklch(28.3% 0.113 0.2)

  • #252E00

    #252E00

    oklch(28.2% 0.067 120.6)

  • #002D46

    #002D46

    oklch(28.3% 0.065 239.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #510127

    #510127

    oklch(28.3% 0.113 0.2)

  • #342800

    #342800

    oklch(28.3% 0.058 91.4)

  • #00322A

    #00322A

    oklch(28.4% 0.052 178.5)

  • #162060

    #162060

    oklch(28.2% 0.113 270.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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