Skip to content

#818381 Color

#818381 is rgb(129, 131, 129) in RGB, hsl(120, 1%, 51%) in HSL, and about cmyk(2%, 0%, 2%, 49%) in CMYK. It has no registered color name of its own — the closest is Battleship Gray (#848482), below the threshold most people can see at ΔE 1. Black text is the more readable choice on this background.

#818381
HEX#818381
RGBrgb(129, 131, 129)
HSLhsl(120, 1%, 51%)
HSVhsv(120, 2%, 51%)
CMYKcmyk(2%, 0%, 2%, 49%)
OKLCHoklch(60.8% 0.004 145.5)
LABlab(54.54% -1.07 0.81)
LCHlch(54.54% 1.34 142.86)

What #818381 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 #818381, 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 gray in the library.

#818381 Channel Values

How #818381 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 129 · G 131 · B 1298-bit channels as sent to the display
HSLH 120° · S 1% · L 51%Easiest model for building lighter and darker variants
HSVH 120° · S 2% · V 51%Matches the picker in most design tools
CMYKC 2% · M 0% · Y 2% · K 49%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.82:1 vs white · 5.5:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #818381 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.

Fails AAWhite text3.82:1AA normal AA large AAA normal
TextBlack text5.5:1AA normal AA large AAA normal

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

Colors That Go With #818381

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

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

How #818381 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#818381
Protanopia#838381
Protanomaly#828381
Deuteranopia#828281
Deuteranomaly#828381
Tritanopia#818383
Tritanomaly#818382
Achromatopsia#828282

Test a full palette in the color blindness simulator.

Using #818381 in Code

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

CSS custom property--color-818381: #818381;
CSS backgroundbackground-color: #818381;
Tailwind configcolors: { 'color-818381': '#818381' }
SwiftUIColor(red: 0.506, green: 0.514, blue: 0.506)
Android XML<color name="color_818381">#818381</color>
SVG fillfill="#818381"

More Gray Colors

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

#818381 Frequently Asked Questions

What color is #818381?

#818381 is a mid-tone gray — rgb(129, 131, 129) in RGB and hsl(120, 1%, 51%) in HSL. It carries no registered color name of its own; the closest named color is Battleship Gray (#848482), which is below the threshold most people can see at a CIE76 distance of 1.

What is the RGB value of #818381?

#818381 is rgb(129, 131, 129) — red 129, green 131, and blue 129 on the 0-255 scale.

What is the CMYK value of #818381?

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

Should text on #818381 be black or white?

Black text is the more readable choice. #818381 scores 3.82:1 against white and 5.5:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #818381 as a CSS color keyword?

No. #818381 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 gray (#808080) at a CIE76 distance of 1.64, which is below the threshold most people can see.

Open #818381 in a Tool

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