#18181B Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(24, 24, 27)
HSL:hsl(240, 6%, 10%)
HEX
#18181B
RGB
24, 24, 27
HSL
240°, 6%, 10%
HSV
240°, 11%, 11%
CMYK
11%, 11%, 0%, 89%

Color Conversion

Generate values across multiple color models in one place.

#18181B

Tints & shades

Explore how #18181B behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#18181B
10%#161618
20%#131316
30%#111113
40%#0E0E10
50%#0C0C0E
60%#0A0A0B
70%#070708
80%#050505
90%#020203
100%#000000

Tints

0–100%
0%#18181B
10%#2E2E33
20%#43434C
30%#595964
40%#6E6E7C
50%#858593
60%#9E9EA9
70%#B6B6BE
80%#CECED4
90%#E7E7E9
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #18181B.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #18181B is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#18181B
Contrast ratio1.19:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#18181B
Contrast ratio17.72:1
WCAG levelAAA
Recommended text preview
Text color#FFFFFF
Background#18181B
Contrast ratio17.72:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#18181B
RGB
rgb(24, 24, 27)
HSL
hsl(240, 5.88%, 10%)
HSV
hsv(240.00 11.11% 10.59%)
LAB
lab(8.35 0.60 -2.12)
LCH
lch(8.35 2.20 285.90)
OKLAB
oklab(0.21 0.0016 -0.0056)
OKLCH
oklch(0.21 0.0059 285.89)
Display P3
color(display-p3 0.09411764705882356 0.0941176470588235 0.10487862129563225)
CSS Color Level 4
color(srgb 0.09411764705882353 0.09411764705882353 0.10588235294117647)
XYZ
color(xyz-d65 0.0090 0.0093 0.0117)
CMYK
cmyk(11.11% 11.11% 0.00% 89.41%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #18181B;
CSS RGB Variable
--color-brand-primary-rgb: 24, 24, 27;
SCSS Variable
$color-brand-primary: #18181B;
Tailwind Config
"brand-primary": "#18181B"
JavaScript
const brandprimary = "#18181B";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#18181B",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#18181B" />
Android XML
<color name="brand_primary">#18181B</color>
iOS Swift
UIColor(red: 0.094, green: 0.094, blue: 0.106, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 240.00 5.88% 10.00%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
black
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.0093
Saturation Level
Muted
Lightness Level
Very dark

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#18181B

Deuteranopia

Green-blind simulation

#18181B

Tritanopia

Blue-blind simulation

#181818

Achromatopsia

No-color simulation

#181818

Creative Aspects

Palettes, gradients, and moods.

Complementary

#18181B#1B1B18

Analogous

#181A1B#18181B#1A181B

Triadic

#18181B#1B1818#181B18

Tetradic

#18181B#1B181A#1B1B18#181B1A

Monochromatic

#69696C#3E3E42#18181B#0E0E12#000000

Tints

#FFFFFF#BEBEBF#818183#49494C#18181B

Shades

#18181B#141417#0E0E12#07070D#000000

Gradient Flow

#18191B#18191B#18181B#18181B#19181B

Design guidance

Balance

Treat #18181B as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color