Night Color

Night is a near-black neutral with hex code #0C090A. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#0C090ARGB 12 9 10
Night#0C090A

Night color codes

HEX#0C090A
RGBrgb(12, 9, 10)
HSLhsl(340, 14%, 4%)
HSV340°, 25%, 5%
CMYK0%, 25%, 17%, 95%
OKLCHoklch(14.4% 0.006 355.3)
Tailwindbg-[#0c090a]

Closest Tailwind colour: stone-950 (#0C0A09), an exact match. Convert any colour in the Color Converter.

About Night

Night (#0C090A) is a near-black neutral. In the RGB model it is 5% red, 4% green and 4% blue; its hue angle is 340°, with 14% saturation and 4% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 17% yellow and 95% black.

It is a neutral colour and appears in our shades of black. Text on it reads best in white (19.8:1 contrast).

Night tints and shades

Tints mix night with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Night

Night is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.

Complementary

Night

Analogous

Night
near Night
near Night

Triadic

Night

Split complementary

Night

Night contrast

White text19.83:1
  • AA text pass
  • AAA text pass
  • AA large pass
Black text1.06:1
  • AA text fail
  • AAA text fail
  • AA large fail

Using Night in CSS

.brand {
  color: #0c090a;
}
.button {
  background: #0c090a;
  color: #fff;
}
.hero {
  background: linear-gradient(135deg, #615f60, #0c090a, #080607);
}

Similar colors

Gradients with Night

Exact matchDEV

Dev.to

Exact matchRailway

Railway

More gradients near #0C090A →

Night FAQ

What color is Night?

Night is a near-black neutral. Its hex code is #0C090A and it is a neutral colour.

What is the hex code for Night?

The hex code for Night is #0C090A. In RGB that is rgb(12, 9, 10), and in HSL hsl(340, 14%, 4%).

What is Night in CMYK?

Night is roughly C 0%, M 25%, Y 17%, K 95% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Night?

Night is a neutral and pairs with almost any colour; one saturated accent usually looks best.

Is white or black text better on Night?

White text reads better on Night: 19.8:1 contrast, against 1.1:1 for black. WCAG asks for 4.5:1 for body text.

Browse colors