HEX Color Conversion

Hex Color Code #001F1E — RGB & HSL Conversions

How to use the #001F1E color code in HTML & CSS?

For developers, implementing the #001F1E color code involves declaring it in your styles. In stylesheet designs, use color: #001F1E; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#001F1E] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #001F1E?

The RGB code for #001F1E is computed as rgb(0, 31, 30). Web designers using HSL values will find it at a hue of 178°, saturation of 100%, and lightness index of 6%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #001F1E

For print design setups, the CMYK values for the #001F1E color code are Cyan: 100%, Magenta: 0%, Yellow: 3%, and Black: 88%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 0
Green Channel 31
Blue Channel 30
Luminance 0.011

HEX #001F1E Color Space Conversions

Click to copy format
HEX Color Code #001F1E
RGB (Red Green Blue) rgb(0, 31, 30)
HSL (Hue Sat Light) hsl(178°, 100%, 6%)
CMYK (Commercial Print) cmyk(100%, 0%, 3%, 88%)
HSV / HSB Values hsv(178°, 100%, 12%)
Decimal Color Code 7966
CSS Custom Variable --color-hex: #001F1E;
Tailwind CSS Utility bg-[#001F1E]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #001F1E

Small body copy preview

Black Text on Background

Black text readability test with #001F1E

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #001F1E */
--color-hex: #001F1E;
--color-rgb: rgb(0, 31, 30);
--color-hsl: hsl(178deg, 100%, 6%);

Adjacent HEX Color Codes

Copied!