#5F535A

A color in the Black, Gray, White family

#5f535a is a color in the Black, Gray, White family: RGB(95, 83, 90), HSL(325°, 7%, 35%), CMYK(0%, 13%, 5%, 63%). Closest named color: dimgray. Contrast is 7.31:1 on white and 2.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5f535a
RGBrgb(95 83 90)
RGB (legacy)rgb(95, 83, 90)
RGB %rgb(37% 33% 35%)
HSLhsl(325 7% 35%)
HSV / HSBhsv(325, 13%, 37%)
HWBhwb(325 33% 63%)
CMYKcmyk(0%, 13%, 5%, 63%)
CIELAB (D50)lab(36.68 6.13 -2.19)
LCHlch(36.68 6.51 340.39)
OKLaboklab(0.4564 0.0182 -0.0059)
OKLCHoklch(0.4564 0.0191 341.96)
Decimal6247258

Properties

Color ToneBlack, Gray, White
Closest named colordimgray ΔE 6.7
Closest web-safe color#666666
Hue325°
Saturation (HSL / HSV)7% / 13%
Lightness (HSL)35%
Brightness or Value (HSV)37%
Luminance (Rec.601 / Rec.709)34% / 34%
Relative luminance (WCAG)0.0936
Red / Green / Blue95 / 83 / 90

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 85.4 / -16.6 · As background with white / black text: Lc -90.3 / 18.6

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: #5f535a;
  --color-brand-oklch: oklch(45.64% 0.0191 341.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(95 83 90 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5f535a] text-[#5f535a] border-[#5f535a]">