#181C18#181C18

#181C18 is a very dark, near-neutral grey. Relative luminance 0.011; OKLCH L 22.1% C 0.010 H 145.2°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#181C18
RGBrgb(24, 28, 24)
HSLhsl(120, 8%, 10%)
HSVhsv(120, 14%, 11%)
CMYKcmyk(14.3%, 0%, 14.3%, 89%)
CIE-LABlab(9.72, -2.92, 2.14)
CIE-LCHlch(9.72, 3.62, 143.83°)
OKLaboklab(22.07% -0.008 0.0056)
OKLCHoklch(22.07% 0.01 145.2)
XYZxyz(0.9568, 1.0906, 1.0241)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C18 #1C181C
analogous
#1A1C18 #181C18 #181C1A
triadic
#181C18 #18181C #1C1818
tetradic
#181C18 #181A1C #1C181C #1C1A18
square
#181C18 #181A1C #1C181C #1C1A18
split-complementary
#181C18 #1A181C #1C181A
monochromatic
#0E100E #0E100E #181C18 #343D34 #505E50

Accessibility & contrast

On white

17.24
#181C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C18
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C18#FFFFFF#000000##FFFFFF
##181C181.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B18
Deuteranopia (green-blind)
#1B1B18
Tritanopia (blue-blind)
#181C1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181c18;
/* rgb */ color: rgb(24, 28, 24);
/* oklch */ color: oklch(22.1% 0.010 145.2);
Tailwind
colors: {
  custom: {
    50: '#545854',
    500: '#181c18',
    950: '#000000',
  },
}
SCSS
$custom: #181c18;
$custom-light: #545854;
$custom-dark: #000000;
JSON
{
  "hex": "#181c18",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 7.692,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22069,
    "c": 0.00975,
    "h": 145.2
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#181C18
secondary
#4C444C
accent
#77B1B1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020302
muted
#787878

Preview Lab

Preview with #181C18

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

Preview Lab → · Contrast checker → · Palette generator →

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