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.
#51484Frgb(81, 72, 79)hsl(313, 6%, 30%)hsv(313, 11%, 32%)cmyk(0%, 11%, 2%, 68%)oklch(41.31% 0.0165 333.44)lab(31.69% 4.99 -2.74)lch(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.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 81 · G 72 · B 79 | 8-bit channels as sent to the display |
| HSL | H 313° · S 6% · L 30% | Easiest model for building lighter and darker variants |
| HSV | H 313° · S 11% · V 32% | Matches the picker in most design tools |
| CMYK | C 0% · M 11% · Y 2% · K 68% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 8.78:1 vs white · 2.38:1 vs black | WCAG 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.
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.
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.
#51484F#4A4A4F#4D494F#4B4B4F#4E4A4F#504949#51494B#4B4B4B.
Using #51484F in Code
Copy-ready declarations for the places this color usually ends up.
--quartz: #51484F;background-color: #51484F;colors: { 'quartz': '#51484F' }Color(red: 0.318, green: 0.282, blue: 0.310)<color name="quartz">#51484F</color>fill="#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.