Skip to content

#B30012 Color

#B30012 is rgb(179, 0, 18) in RGB, hsl(354, 100%, 35%) in HSL, and about cmyk(0%, 100%, 90%, 30%) in CMYK. It has no registered color name of its own — the closest is Traffic Red (#C1121C), very hard to tell apart at ΔE 4.27. White text is the more readable choice on this background.

#B30012
HEX#B30012
RGBrgb(179, 0, 18)
HSLhsl(354, 100%, 35%)
HSVhsv(354, 100%, 70%)
CMYKcmyk(0%, 100%, 90%, 30%)
OKLCHoklch(48.2% 0.196 26.9)
LABlab(37.96% 62.11 46.20)
LCHlch(37.96% 77.41 36.65)

What #B30012 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 #B30012, 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.

#B30012 Channel Values

How #B30012 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 179 · G 0 · B 188-bit channels as sent to the display
HSLH 354° · S 100% · L 35%Easiest model for building lighter and darker variants
HSVH 354° · S 100% · V 70%Matches the picker in most design tools
CMYKC 0% · M 100% · Y 90% · K 30%Approximate ink mix; confirm with an ICC profile before printing
Luminance7.18:1 vs white · 2.93:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B30012 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 text7.18:1AA normal AA large AAA normal
Fails AABlack text2.93:1AA normal AA large AAA normal

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

Colors That Go With #B30012

Pairings derived from color-wheel relationships. The complementary color sits opposite #B30012; 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 #B30012

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 #B30012.

How #B30012 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#B30012
Protanopia#4E4E0D
Protanomaly#833D0F
Deuteranopia#6C6C00
Deuteranomaly#8E5400
Tritanopia#B30303
Tritanomaly#B30209
Achromatopsia#575757

Test a full palette in the color blindness simulator.

Using #B30012 in Code

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

CSS custom property--color-b30012: #B30012;
CSS backgroundbackground-color: #B30012;
Tailwind configcolors: { 'color-b30012': '#B30012' }
SwiftUIColor(red: 0.702, green: 0.000, blue: 0.071)
Android XML<color name="color_b30012">#B30012</color>
SVG fillfill="#B30012"

More Red Colors

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

#B30012 Frequently Asked Questions

What color is #B30012?

#B30012 is a dark red — rgb(179, 0, 18) in RGB and hsl(354, 100%, 35%) in HSL. It carries no registered color name of its own; the closest named color is Traffic Red (#C1121C), which is very hard to tell apart at a CIE76 distance of 4.27.

What is the RGB value of #B30012?

#B30012 is rgb(179, 0, 18) — red 179, green 0, and blue 18 on the 0-255 scale.

What is the CMYK value of #B30012?

#B30012 converts to approximately cmyk(0%, 100%, 90%, 30%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #B30012 be black or white?

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

Can I write #B30012 as a CSS color keyword?

No. #B30012 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 firebrick (#B22222) at a CIE76 distance of 9.12, which is clearly related but distinguishable side by side.

Open #B30012 in a Tool

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