Skip to content

#1B0304 Color

#1B0304 is rgb(27, 3, 4) in RGB, hsl(357, 80%, 6%) in HSL, and about cmyk(0%, 89%, 85%, 89%) in CMYK. It has no registered color name of its own — the closest is Licorice (#1A1110), clearly related but distinguishable side by side at ΔE 5.96. White text is the more readable choice on this background.

#1B0304
HEX#1B0304
RGBrgb(27, 3, 4)
HSLhsl(357, 80%, 6%)
HSVhsv(357, 89%, 11%)
CMYKcmyk(0%, 89%, 85%, 89%)
OKLCHoklch(15.1% 0.046 20.9)
LABlab(2.86% 9.09 2.84)
LCHlch(2.86% 9.52 17.33)

What #1B0304 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #1B0304, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#1B0304 Channel Values

How #1B0304 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 27 · G 3 · B 48-bit channels as sent to the display
HSLH 357° · S 80% · L 6%Easiest model for building lighter and darker variants
HSVH 357° · S 89% · V 11%Matches the picker in most design tools
CMYKC 0% · M 89% · Y 85% · K 89%Approximate ink mix; confirm with an ICC profile before printing
Luminance19.79:1 vs white · 1.06:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #1B0304 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text19.79:1AA normal AA large AAA normal
Fails AABlack text1.06:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #1B0304 in the contrast checker.

Colors That Go With #1B0304

Pairings derived from color-wheel relationships. The complementary color sits opposite #1B0304; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #1B0304

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #1B0304.

How #1B0304 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#1B0304
Protanopia#090904
Protanomaly#120604
Deuteranopia#0E0E03
Deuteranomaly#140A03
Tritanopia#1B0303
Tritanomaly#1B0303
Achromatopsia#0A0A0A

Test a full palette in the color blindness simulator.

Using #1B0304 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-1b0304: #1B0304;
CSS backgroundbackground-color: #1B0304;
Tailwind configcolors: { 'color-1b0304': '#1B0304' }
SwiftUIColor(red: 0.106, green: 0.012, blue: 0.016)
Android XML<color name="color_1b0304">#1B0304</color>
SVG fillfill="#1B0304"

More Red Colors

#1B0304 sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#1B0304 Frequently Asked Questions

What color is #1B0304?

#1B0304 is a darkest red — rgb(27, 3, 4) in RGB and hsl(357, 80%, 6%) in HSL. It carries no registered color name of its own; the closest named color is Licorice (#1A1110), which is clearly related but distinguishable side by side at a CIE76 distance of 5.96.

What is the RGB value of #1B0304?

#1B0304 is rgb(27, 3, 4) — red 27, green 3, and blue 4 on the 0-255 scale.

What is the CMYK value of #1B0304?

#1B0304 converts to approximately cmyk(0%, 89%, 85%, 89%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #1B0304 be black or white?

White text is the more readable choice. #1B0304 scores 19.79:1 against white and 1.06:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #1B0304 as a CSS color keyword?

No. #1B0304 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is black (#000000) at a CIE76 distance of 9.94, which is clearly related but distinguishable side by side.

Open #1B0304 in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.