#51474A

Closest named color: Charcoal Grey (#3C4142). oklch(40.9% 0.014 357.6), rgb(81, 71, 74).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (41%)
Chromaclose to neutral grey (0.014)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.35:1
White text8.93:1

Values

HEX#51474A
RGBrgb(81, 71, 74)
HSLhsl(342, 7%, 30%)
OKLCHoklch(40.9% 0.014 357.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 #51474A 8.93:1 AAA Lc -94.9 Preferred for body text
Black text on #51474A 2.35:1 Fails Lc 13.5 Not readable
#51474A text on white 8.93:1 AAA Lc 90.5 Preferred for body text
#51474A text on black 2.35:1 Fails Lc -11.8 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

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #EBE9EA

    oklch(93.6% 0.003 345.2)

  3. Step 200

    200

    #DCD8D9

    oklch(88.6% 0.005 0)

  4. Step 300

    300

    #C5BEC0

    oklch(80.8% 0.008 357.9)

  5. Step 400

    400

    #A89DA0

    oklch(70.6% 0.014 358.9)

  6. Step 500

    500

    #938589

    oklch(63% 0.018 358.4)

  7. Step 600

    600

    #7D6F73

    oklch(55.6% 0.018 358.5)

  8. Step 700

    700

    #695D61

    oklch(49.1% 0.017 355.5)

  9. Step 800

    800 (this color)

    #51474A

    oklch(40.9% 0.014 357.6)

  10. Step 900

    900

    #473F41

    oklch(37.7% 0.011 0.7)

  11. Step 950

    950

    #292526

    oklch(26.9% 0.006 0.5)

Export this scale for Tailwind in the Tailwind colors tool

#51474A 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)#48494A0.016
Deuteranopia (no green cones)#4A4A4A0.014
Tritanopia (no blue cones)#5347480.005
Achromatopsia (no color)#4949490.015

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #51474A 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.