Skip to content

Quartz (#51484F)

The hex code for Quartz is #51484F. It is rgb(81, 72, 79) in RGB, hsl(313, 6%, 30%) in HSL, and about cmyk(0%, 11%, 2%, 68%) in CMYK — a dark gray. White text is the more readable choice on this background.

#51484F
HEX#51484F
RGBrgb(81, 72, 79)
HSLhsl(313, 6%, 30%)
HSVhsv(313, 11%, 32%)
CMYKcmyk(0%, 11%, 2%, 68%)
OKLCHoklch(41.31% 0.0165 333.44)
LABlab(31.69% 4.99 -2.74)
LCHlch(31.69% 5.70 331.26)

Colors Closest to Quartz

Quartz is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

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

#51484F Channel Values

How Quartz 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 81 · G 72 · B 798-bit channels as sent to the display
HSLH 313° · S 6% · L 30%Easiest model for building lighter and darker variants
HSVH 313° · S 11% · V 32%Matches the picker in most design tools
CMYKC 0% · M 11% · Y 2% · K 68%Approximate ink mix; confirm with an ICC profile before printing
Luminance8.78:1 vs white · 2.38:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Quartz 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 text8.78:1AA normal AA large AAA normal
Fails AABlack text2.38:1AA normal AA large AAA normal

Need a specific ratio against another background? .

Colors That Go With Quartz

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

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? .

How Quartz 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#51484F
Protanopia#4A4A4F
Protanomaly#4D494F
Deuteranopia#4B4B4F
Deuteranomaly#4E4A4F
Tritanopia#504949
Tritanomaly#51494B
Achromatopsia#4B4B4B

.

Using #51484F in Code

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

CSS custom property--quartz: #51484F;
CSS backgroundbackground-color: #51484F;
Tailwind configcolors: { 'quartz': '#51484F' }
SwiftUIColor(red: 0.318, green: 0.282, blue: 0.310)
Android XML<color name="quartz">#51484F</color>
SVG fillfill="#51484F"

More Gray Colors

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

#51484F Frequently Asked Questions

What is the hex code for Quartz?

The hex code for Quartz is #51484F. That is rgb(81, 72, 79) in RGB, hsl(313, 6%, 30%) in HSL, and approximately cmyk(0%, 11%, 2%, 68%) in CMYK.

What is the RGB value of #51484F?

#51484F is rgb(81, 72, 79) — red 81, green 72, and blue 79 on the 0-255 scale.

What is the CMYK value of #51484F?

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

Should text on #51484F be black or white?

White text is the more readable choice. #51484F scores 8.78:1 against white and 2.38:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #51484F as a CSS color keyword?

No. #51484F 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 dimgray (#696969) at a CIE76 distance of 13.94, which is visibly different.

Open Quartz in a Tool

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