#504142

Closest named color: Charcoal Grey (#3C4142). oklch(39.1% 0.021 13.6), rgb(80, 65, 66).

Aa

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

About this color

#504142 is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.034 away. White text reads best on it, at 9.65:1.

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.17:1
White text9.65:1

Values

HEX#504142
RGBrgb(80, 65, 66)
HSLhsl(356, 10%, 28%)
OKLCHoklch(39.1% 0.021 13.6)

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 #504142 9.65:1 AAA Lc -96.6 Preferred for body text
Black text on #504142 2.17:1 Fails Lc 11.6 Not readable
#504142 text on white 9.65:1 AAA Lc 92.4 Preferred for body text
#504142 text on black 2.17:1 Fails Lc -10.1 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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE9E9

    oklch(93.7% 0.004 17.2)

  3. Step 200

    200

    #DFD7D7

    oklch(88.6% 0.009 17.3)

  4. Step 300

    300

    #CABDBD

    oklch(80.9% 0.015 17.5)

  5. Step 400

    400

    #B09B9C

    oklch(70.8% 0.025 14.5)

  6. Step 500

    500

    #9C8284

    oklch(63.1% 0.032 12.8)

  7. Step 600

    600

    #866B6D

    oklch(55.5% 0.035 13.2)

  8. Step 700

    700

    #72595B

    oklch(49% 0.033 13)

  9. Step 800

    800

    #5D494B

    oklch(42.7% 0.027 11.5)

  10. Step 900

    900 (this color)

    #504142

    oklch(39.1% 0.021 13.6)

  11. Step 950

    950

    #2D2424

    oklch(27.1% 0.014 18)

Export this scale for Tailwind in the Tailwind colors tool

#504142 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)#4343420.023
Deuteranopia (no green cones)#4746420.021
Tritanopia (no blue cones)#5340410.006
Achromatopsia (no color)#4545450.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #504142

    #504142

    oklch(39.1% 0.021 13.6)

  • #394948

    #394948

    oklch(39.1% 0.02 191.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504142

    #504142

    oklch(39.1% 0.021 13.6)

  • #4E4148

    #4E4148

    oklch(39.1% 0.021 344.5)

  • #4F423C

    #4F423C

    oklch(39.1% 0.021 46.2)

Open the analogous palette in the generator

Split complementary

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

  • #504142

    #504142

    oklch(39.1% 0.021 13.6)

  • #3B4942

    #3B4942

    oklch(39.1% 0.021 163.6)

  • #3A484E

    #3A484E

    oklch(39.2% 0.021 225.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504142

    #504142

    oklch(39.1% 0.021 13.6)

  • #41483D

    #41483D

    oklch(39.2% 0.02 134)

  • #3E4651

    #3E4651

    oklch(39.1% 0.021 256.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504142

    #504142

    oklch(39.1% 0.021 13.6)

  • #474639

    #474639

    oklch(39.1% 0.021 103.7)

  • #394948

    #394948

    oklch(39.1% 0.02 191.6)

  • #444450

    #444450

    oklch(39.1% 0.02 285.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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