#515142

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43% 0.024 107.4), rgb(81, 81, 66).

Aa

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

About this color

#515142 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.052 away. White text reads best on it, at 8.05:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.60:1
White text8.05:1

Values

HEX#515142
RGBrgb(81, 81, 66)
HSLhsl(60, 10%, 29%)
OKLCHoklch(43% 0.024 107.4)

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 #515142 8.05:1 AAA Lc -92.6 Preferred for body text
Black text on #515142 2.60:1 Fails Lc 16.1 Dividers and decoration only
#515142 text on white 8.05:1 AAA Lc 87.9 Fine for body text
#515142 text on black 2.60:1 Fails Lc -14.2 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 800.

  1. Step 50

    50

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE7

    oklch(93.6% 0.004 106.5)

  3. Step 200

    200

    #D9D9D4

    oklch(88.4% 0.007 106.5)

  4. Step 300

    300

    #C1C1B7

    oklch(80.8% 0.014 106.7)

  5. Step 400

    400

    #A2A292

    oklch(70.8% 0.023 107)

  6. Step 500

    500

    #8B8B77

    oklch(63.1% 0.029 107.2)

  7. Step 600

    600

    #757560

    oklch(55.6% 0.031 107.4)

  8. Step 700

    700

    #62624F

    oklch(49.1% 0.029 107.4)

  9. Step 800

    800 (this color)

    #515142

    oklch(43% 0.024 107.4)

  10. Step 900

    900

    #424237

    oklch(37.6% 0.018 107.2)

  11. Step 950

    950

    #272720

    oklch(27% 0.013 107.2)

Export this scale for Tailwind in the Tailwind colors tool

#515142 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)#5450410.005
Deuteranopia (no green cones)#5450430.006
Tritanopia (no blue cones)#534F4D0.021
Achromatopsia (no color)#5050500.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #515142

    #515142

    oklch(43% 0.024 107.4)

  • #4F4E5D

    #4F4E5D

    oklch(43.1% 0.025 288.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515142

    #515142

    oklch(43% 0.024 107.4)

  • #574E41

    #574E41

    oklch(42.9% 0.024 77)

  • #4A5346

    #4A5346

    oklch(43% 0.024 136)

Open the analogous palette in the generator

Split complementary

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

  • #515142

    #515142

    oklch(43% 0.024 107.4)

  • #48515D

    #48515D

    oklch(43.2% 0.023 255.6)

  • #554C59

    #554C59

    oklch(43% 0.024 315.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515142

    #515142

    oklch(43% 0.024 107.4)

  • #42535A

    #42535A

    oklch(43.1% 0.024 224.8)

  • #5A4B52

    #5A4B52

    oklch(43% 0.023 348.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515142

    #515142

    oklch(43% 0.024 107.4)

  • #415454

    #415454

    oklch(43% 0.023 196.3)

  • #4F4E5D

    #4F4E5D

    oklch(43.1% 0.025 288.4)

  • #5C4B4B

    #5C4B4B

    oklch(43% 0.023 18.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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