#101212#101212

#101212 is a very dark, near-neutral grey. Relative luminance 0.006; OKLCH L 18.0% C 0.003 H 196.9°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#101212
RGBrgb(16, 18, 18)
HSLhsl(180, 6%, 7%)
HSVhsv(180, 11%, 7%)
CMYKcmyk(11.1%, 0%, 0%, 92.9%)
CIE-LABlab(5.30, -0.74, -0.26)
CIE-LCHlch(5.30, 0.79, 199.50°)
OKLaboklab(18% -0.0031 -0.0009)
OKLCHoklch(18% 0.003 196.9)
XYZxyz(0.5392, 0.5864, 0.6569)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#101212 #121010
analogous
#101211 #101212 #101112
triadic
#101212 #121012 #121210
tetradic
#101212 #111012 #121010 #111210
square
#101212 #111012 #121010 #111210
split-complementary
#101212 #121011 #121110
monochromatic
#0E1010 #0E1010 #101212 #2D3232 #4A5353

Accessibility & contrast

On white

18.80
#101212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#101212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #101212
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##101212#FFFFFF#000000##FFFFFF
##1012121.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121212
Deuteranopia (green-blind)
#111112
Tritanopia (blue-blind)
#0F1212
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #101212;
/* rgb */ color: rgb(16, 18, 18);
/* oklch */ color: oklch(18.0% 0.003 196.9);
Tailwind
colors: {
  custom: {
    50: '#4e5050',
    500: '#101212',
    950: '#000000',
  },
}
SCSS
$custom: #101212;
$custom-light: #4e5050;
$custom-dark: #000000;
JSON
{
  "hex": "#101212",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 180,
    "s": 5.882,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17996,
    "c": 0.00321,
    "h": 196.9
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#101212
secondary
#413C3C
accent
#7979AF
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010202
muted
#777878

Preview Lab

Preview with #101212

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#101212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva