#050502

Closest named color: Almost Black (#070D0D). oklch(11.3% 0.012 108.2), rgb(5, 5, 2).

Aa

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

About this color

#050502 is a very dark close to neutral grey. In OKLCH its lightness is 11%, its chroma 0.012. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.043 away. White text reads best on it, at 20.40:1.

Hue familyNeutrals
Lightnessvery dark (11%)
Chromaclose to neutral grey (0.012)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.02:1
White text20.40:1

Values

HEX#050502
RGBrgb(5, 5, 2)
HSLhsl(60, 43%, 1%)
OKLCHoklch(11.3% 0.012 108.2)

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 #050502 20.40:1 AAA Lc -107.9 Preferred for body text
Black text on #050502 1.02:1 Fails Lc 0.0 Not readable
#050502 text on white 20.40:1 AAA Lc 106.0 Preferred for body text
#050502 text on black 1.02: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 950.

  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

    #D9DAD4

    oklch(88.6% 0.008 114.2)

  4. Step 300

    300

    #C1C1B7

    oklch(80.8% 0.014 106.7)

  5. Step 400

    400

    #A1A292

    oklch(70.7% 0.023 109.9)

  6. Step 500

    500

    #8B8B77

    oklch(63.1% 0.029 107.2)

  7. Step 600

    600

    #75755F

    oklch(55.6% 0.033 107.4)

  8. Step 700

    700

    #62624F

    oklch(49.1% 0.029 107.4)

  9. Step 800

    800

    #505041

    oklch(42.7% 0.024 107.4)

  10. Step 900

    900

    #424337

    oklch(37.8% 0.02 111.2)

  11. Step 950

    950 (this color)

    #050502

    oklch(11.3% 0.012 108.2)

Export this scale for Tailwind in the Tailwind colors tool

#050502 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)#0605020.003
Deuteranopia (no green cones)#0605020.003
Tritanopia (no blue cones)#0605040.010
Achromatopsia (no color)#0505050.012

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 #050502, closest first.

Similar named colors

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

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