#12181A#12181A

#12181A is a very dark, near-neutral cyan. Relative luminance 0.009; OKLCH L 20.4% C 0.010 H 220.0°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#12181A
RGBrgb(18, 24, 26)
HSLhsl(195, 18%, 9%)
HSVhsv(195, 31%, 10%)
CMYKcmyk(30.8%, 7.7%, 0%, 89.8%)
CIE-LABlab(7.74, -2.11, -2.34)
CIE-LCHlch(7.74, 3.15, 227.98°)
OKLaboklab(20.37% -0.0076 -0.0064)
OKLCHoklch(20.37% 0.01 220)
XYZxyz(0.7625, 0.8564, 1.1022)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12181A #1A1412
analogous
#121A18 #12181A #12141A
triadic
#12181A #1A1218 #181A12
tetradic
#12181A #18121A #1A1412 #141A12
square
#12181A #18121A #1A1412 #141A12
split-complementary
#12181A #1A1214 #1A1812
monochromatic
#0D1112 #0D1112 #12181A #2B393E #445B62

Accessibility & contrast

On white

17.93
#12181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#12181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12181A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12181A#FFFFFF#000000##FFFFFF
##12181A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181A
Deuteranopia (green-blind)
#15171A
Tritanopia (blue-blind)
#101919
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12181a;
/* rgb */ color: rgb(18, 24, 26);
/* oklch */ color: oklch(20.4% 0.010 220.0);
Tailwind
colors: {
  custom: {
    50: '#4f5456',
    500: '#12181a',
    950: '#000000',
  },
}
SCSS
$custom: #12181a;
$custom-light: #4f5456;
$custom-dark: #000000;
JSON
{
  "hex": "#12181a",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 195,
    "s": 18.182,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20374,
    "c": 0.0099,
    "h": 220
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#12181A
secondary
#4D403B
accent
#806DBB
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878

Preview Lab

Preview with #12181A

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

Preview Lab → · Contrast checker → · Palette generator →

#12181A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva