#514B52

A color in the Black, Gray, White family

#514b52 is a color in the Black, Gray, White family: RGB(81, 75, 82), HSL(291°, 4%, 31%), CMYK(1%, 9%, 0%, 68%). Closest named color: darkslategray. Contrast is 8.47:1 on white and 2.48:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#514b52
RGBrgb(81 75 82)
RGB (legacy)rgb(81, 75, 82)
RGB %rgb(32% 29% 32%)
HSLhsl(291 4% 31%)
HSV / HSBhsv(291, 9%, 32%)
HWBhwb(291 29% 68%)
CMYKcmyk(1%, 9%, 0%, 68%)
CIELAB (D50)lab(32.67 3.69 -3.22)
LCHlch(32.67 4.9 318.92)
OKLaboklab(0.4212 0.0108 -0.0086)
OKLCHoklch(0.4212 0.0138 321.37)
Decimal5327698

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 5.1
Closest web-safe color#663366
Hue291°
Saturation (HSL / HSV)4% / 9%
Lightness (HSL)31%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)30% / 30%
Relative luminance (WCAG)0.0739
Red / Green / Blue81 / 75 / 82

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.47:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.48: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 89.2 / -13 · As background with white / black text: Lc -93.7 / 14.8

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: #514b52;
  --color-brand-oklch: oklch(42.12% 0.0138 321.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 82 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b52] text-[#514b52] border-[#514b52]">