#181A18#181A18

#181A18 is a very dark, near-neutral grey. Relative luminance 0.010; OKLCH L 21.5% C 0.005 H 145.4°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#181A18
RGBrgb(24, 26, 24)
HSLhsl(120, 4%, 10%)
HSVhsv(120, 8%, 10%)
CMYKcmyk(7.7%, 0%, 7.7%, 89.8%)
CIE-LABlab(8.98, -1.48, 1.07)
CIE-LCHlch(8.98, 1.82, 144.15°)
OKLaboklab(21.48% -0.004 0.0028)
OKLCHoklch(21.48% 0.005 145.4)
XYZxyz(0.9109, 0.9989, 1.0088)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A18 #1A181A
analogous
#191A18 #181A18 #181A19
triadic
#181A18 #18181A #1A1818
tetradic
#181A18 #18191A #1A181A #1A1918
square
#181A18 #18191A #1A181A #1A1918
split-complementary
#181A18 #19181A #1A1819
monochromatic
#0F100F #0F100F #181A18 #353A35 #535A53

Accessibility & contrast

On white

17.50
#181A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A18
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A18#FFFFFF#000000##FFFFFF
##181A181.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A18
Deuteranopia (green-blind)
#1A1918
Tritanopia (blue-blind)
#181A19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181a18;
/* rgb */ color: rgb(24, 26, 24);
/* oklch */ color: oklch(21.5% 0.005 145.4);
Tailwind
colors: {
  custom: {
    50: '#545654',
    500: '#181a18',
    950: '#000000',
  },
}
SCSS
$custom: #181a18;
$custom-light: #545654;
$custom-dark: #000000;
JSON
{
  "hex": "#181a18",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 4,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21482,
    "c": 0.00492,
    "h": 145.4
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#181A18
secondary
#494549
accent
#7BADAD
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #181A18

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

Preview Lab → · Contrast checker → · Palette generator →

#181A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva