#51273B

Closest named color: Grape Purple (#5D1451). oklch(33.6% 0.068 351.5), rgb(81, 39, 59).

Aa

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

About this color

#51273B is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.068 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 12.32:1.

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.70:1
White text12.32:1

Values

HEX#51273B
RGBrgb(81, 39, 59)
HSLhsl(331, 35%, 24%)
OKLCHoklch(33.6% 0.068 351.5)

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 #51273B 12.32:1 AAA Lc -101.3 Preferred for body text
Black text on #51273B 1.70:1 Fails Lc 0.0 Not readable
#51273B text on white 12.32:1 AAA Lc 97.8 Preferred for body text
#51273B text on black 1.70: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 900.

  1. Step 50

    50

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F2E6EB

    oklch(93.6% 0.015 350.1)

  3. Step 200

    200

    #E9D2DB

    oklch(88.5% 0.028 352)

  4. Step 300

    300

    #DCB4C4

    oklch(81% 0.051 352.3)

  5. Step 400

    400

    #C98CA6

    oklch(70.8% 0.081 352.1)

  6. Step 500

    500

    #B96E91

    oklch(63.1% 0.104 351.1)

  7. Step 600

    600

    #A4557B

    oklch(55.6% 0.113 351.2)

  8. Step 700

    700

    #8D4567

    oklch(49.1% 0.106 352)

  9. Step 800

    800

    #723954

    oklch(42.6% 0.087 351.7)

  10. Step 900

    900 (this color)

    #51273B

    oklch(33.6% 0.068 351.5)

  11. Step 950

    950

    #361D29

    oklch(26.9% 0.043 350.2)

Export this scale for Tailwind in the Tailwind colors tool

#51273B 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)#2C303C0.073
Deuteranopia (no green cones)#37373A0.066
Tritanopia (no blue cones)#56252E0.024
Achromatopsia (no color)#3535350.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #51273B

    #51273B

    oklch(33.6% 0.068 351.5)

  • #004233

    #004233

    oklch(33.8% 0.066 171.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51273B

    #51273B

    oklch(33.6% 0.068 351.5)

  • #472A4C

    #472A4C

    oklch(33.6% 0.069 321.5)

  • #552727

    #552727

    oklch(33.6% 0.069 21.4)

Open the analogous palette in the generator

Split complementary

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

  • #51273B

    #51273B

    oklch(33.6% 0.068 351.5)

  • #21401D

    #21401D

    oklch(33.7% 0.069 141.5)

  • #004043

    #004043

    oklch(33.8% 0.057 200.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51273B

    #51273B

    oklch(33.6% 0.068 351.5)

  • #383A08

    #383A08

    oklch(33.6% 0.068 111.9)

  • #003D54

    #003D54

    oklch(33.8% 0.068 231.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51273B

    #51273B

    oklch(33.6% 0.068 351.5)

  • #493302

    #493302

    oklch(33.8% 0.068 81.4)

  • #004233

    #004233

    oklch(33.8% 0.066 171.5)

  • #23365A

    #23365A

    oklch(33.6% 0.068 262.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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