Black

#1A1A1A

Gray

Color Codes

All color formats for development

HEX
#1A1A1A
RGB
rgb(26, 26, 26)
HSL
hsl(0, 0%, 10%)
OKLCH
oklch(0.218 0 89.9)
CMYK
cmyk(0%, 0%, 0%, 90%)

Accessibility

WCAG contrast compliance

On White Background

17.40:1

AA AAA

On Black Background

1.21:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F7
100
#EDED
200
#DEDE
300
#C4C4
400
#A6A6
500
#8C8C
600
#7070
700
#5959
800
#4040
900
#2929
950
#1A1A

Shades

Darker variations

1#171717
2#141414
3#121212
4#0F0F0F
5#0D0D0D
6#0A0A0A
7#080808
8#050505
9#030303

Tints

Lighter variations

1#303030
2#474747
3#5E5E5E
4#757575
5#8C8C8C
6#A3A3A3
7#BABABA
8#D1D1D1
9#E8E8E8

Tones

Muted variations

1#1A1A1A
2#1A1A1A
3#1A1A1A
4#1A1A1A
5#1A1A1A
6#1A1A1A
7#1A1A1A
8#1A1A1A
9#1A1A1A

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F7
#F7F7F7
BackgroundsSubtle highlightsCard backgrounds
100
EDED
#EDEDED
Light backgroundsTable row hoverSkeleton loading
200
DEDE
#DEDEDE
Secondary backgroundsInput backgroundsDividers
300
C4C4
#C4C4C4
BordersInactive statesPlaceholder text
400
A6A6
#A6A6A6
Disabled statesSecondary iconsMuted text
500
8C8C
#8C8C8C
Primary brand colorCTAsActive elementsLinks
600
7070
#707070
Hover statesFocus ringsPrimary buttons hover
700
5959
#595959
Active/pressed statesDark mode accentsSecondary text
800
4040
#404040
Text on light backgroundsHeadingsStrong borders
900
2929
#292929
Primary textHigh emphasis contentDark headings
950
1A1A
#1A1A1A
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --black-50: #F7F7F7;
  --black-100: #EDEDED;
  --black-200: #DEDEDE;
  --black-300: #C4C4C4;
  --black-400: #A6A6A6;
  --black-500: #8C8C8C;
  --black-600: #707070;
  --black-700: #595959;
  --black-800: #404040;
  --black-900: #292929;
  --black-950: #1A1A1A;
}
Generate More ShadesCreate PaletteConvert Color