#7E697C

A color in the Black, Gray, White family

#7e697c is a color in the Black, Gray, White family: RGB(126, 105, 124), HSL(306°, 9%, 45%), CMYK(0%, 17%, 2%, 51%). Closest named color: dimgray. Contrast is 5:1 on white and 4.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e697c
RGBrgb(126 105 124)
RGB (legacy)rgb(126, 105, 124)
RGB %rgb(49% 41% 49%)
HSLhsl(306 9% 45%)
HSV / HSBhsv(306, 17%, 49%)
HWBhwb(306 41% 51%)
CMYKcmyk(0%, 17%, 2%, 51%)
CIELAB (D50)lab(46.96 11.27 -7.34)
LCHlch(46.96 13.45 326.94)
OKLaboklab(0.5474 0.0332 -0.0198)
OKLCHoklch(0.5474 0.0387 329.18)
Decimal8284540

Properties

Color ToneBlack, Gray, White
Closest named colordimgray ΔE 4.7
Closest web-safe color#666666
Hue306°
Saturation (HSL / HSV)9% / 17%
Lightness (HSL)45%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)44% / 43%
Relative luminance (WCAG)0.1599
Red / Green / Blue126 / 105 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.20:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 74.6 / -27.1 · As background with white / black text: Lc -80 / 29.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7e697c;
  --color-brand-oklch: oklch(54.74% 0.0387 329.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 105 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e697c] text-[#7e697c] border-[#7e697c]">