#0C1012#0C1012

#0C1012 is a very dark, near-neutral cyan. Relative luminance 0.005; OKLCH L 17.0% C 0.008 H 229.5°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#0C1012
RGBrgb(12, 16, 18)
HSLhsl(200, 20%, 6%)
HSVhsv(200, 33%, 7%)
CMYKcmyk(33.3%, 11.1%, 0%, 92.9%)
CIE-LABlab(4.45, -0.90, -1.54)
CIE-LCHlch(4.45, 1.78, 239.74°)
OKLaboklab(16.96% -0.005 -0.0058)
OKLCHoklch(16.96% 0.008 229.5)
XYZxyz(0.4461, 0.4924, 0.6437)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1012 #120E0C
analogous
#0C1211 #0C1012 #0C0D12
triadic
#0C1012 #120C10 #10120C
tetradic
#0C1012 #110C12 #120E0C #0D120C
square
#0C1012 #110C12 #120E0C #0D120C
split-complementary
#0C1012 #120C0D #12110C
monochromatic
#0C1012 #0C1012 #0C1012 #243137 #3D515B

Accessibility & contrast

On white

19.12
#0C1012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C1012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1012
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1012#FFFFFF#000000##FFFFFF
##0C10121.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#0E0F12
Tritanopia (blue-blind)
#0A1111
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c1012;
/* rgb */ color: rgb(12, 16, 18);
/* oklch */ color: oklch(17.0% 0.008 229.5);
Tailwind
colors: {
  custom: {
    50: '#4c4e50',
    500: '#0c1012',
    950: '#000000',
  },
}
SCSS
$custom: #0c1012;
$custom-light: #4c4e50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1012",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 200,
    "s": 20,
    "l": 5.882
  },
  "oklch": {
    "l": 0.1696,
    "c": 0.00763,
    "h": 229.5
  },
  "luminance": 0.00492
}

Semantic roles & 50–950 ramp

primary
#0C1012
secondary
#453A34
accent
#866BBD
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010102
muted
#777778

Preview Lab

Preview with #0C1012

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

Preview Lab → · Contrast checker → · Palette generator →

#0C1012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva