#502B40

Closest named color: Onyx (#343A40). oklch(34.4% 0.062 345.8), rgb(80, 43, 64).

Aa

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

About this color

#502B40 is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.062 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.066 away. White text reads best on it, at 11.92:1.

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.76:1
White text11.92:1

Values

HEX#502B40
RGBrgb(80, 43, 64)
HSLhsl(326, 30%, 24%)
OKLCHoklch(34.4% 0.062 345.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 #502B40 11.92:1 AAA Lc -100.7 Preferred for body text
Black text on #502B40 1.76:1 Fails Lc 0.0 Not readable
#502B40 text on white 11.92:1 AAA Lc 97.1 Preferred for body text
#502B40 text on black 1.76: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

    #F1E6EC

    oklch(93.5% 0.014 343.2)

  3. Step 200

    200

    #E7D3DD

    oklch(88.6% 0.026 345.9)

  4. Step 300

    300

    #D8B5C7

    oklch(80.9% 0.047 345.8)

  5. Step 400

    400

    #C38EAB

    oklch(70.7% 0.075 345.2)

  6. Step 500

    500

    #B37196

    oklch(63% 0.096 345.5)

  7. Step 600

    600

    #9E5980

    oklch(55.6% 0.103 346)

  8. Step 700

    700

    #87486C

    oklch(49% 0.097 346)

  9. Step 800

    800

    #6E3C58

    oklch(42.7% 0.08 346.3)

  10. Step 900

    900 (this color)

    #502B40

    oklch(34.4% 0.062 345.8)

  11. Step 950

    950

    #341E2B

    oklch(26.9% 0.04 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#502B40 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)#2E33410.066
Deuteranopia (no green cones)#37393F0.061
Tritanopia (no blue cones)#542B330.024
Achromatopsia (no color)#3737370.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #502B40

    #502B40

    oklch(34.4% 0.062 345.8)

  • #104331

    #104331

    oklch(34.4% 0.062 165.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502B40

    #502B40

    oklch(34.4% 0.062 345.8)

  • #462E4F

    #462E4F

    oklch(34.4% 0.064 316.5)

  • #552B2E

    #552B2E

    oklch(34.5% 0.062 16.3)

Open the analogous palette in the generator

Split complementary

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

  • #502B40

    #502B40

    oklch(34.4% 0.062 345.8)

  • #2A401E

    #2A401E

    oklch(34.3% 0.062 135.4)

  • #004243

    #004243

    oklch(34.4% 0.059 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502B40

    #502B40

    oklch(34.4% 0.062 345.8)

  • #3E3B0E

    #3E3B0E

    oklch(34.5% 0.063 105.5)

  • #063F52

    #063F52

    oklch(34.4% 0.063 226.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502B40

    #502B40

    oklch(34.4% 0.062 345.8)

  • #4C340D

    #4C340D

    oklch(34.5% 0.063 75.4)

  • #104331

    #104331

    oklch(34.4% 0.062 165.4)

  • #223A59

    #223A59

    oklch(34.5% 0.062 255.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #502B40 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.