#514B51

A color in the Black, Gray, White family

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

Color Codes

HEX#514b51
RGBrgb(81 75 81)
RGB (legacy)rgb(81, 75, 81)
RGB %rgb(32% 29% 32%)
HSLhsl(300 4% 31%)
HSV / HSBhsv(300, 7%, 32%)
HWBhwb(300 29% 68%)
CMYKcmyk(0%, 7%, 0%, 68%)
CIELAB (D50)lab(32.64 3.53 -2.63)
LCHlch(32.64 4.4 323.34)
OKLaboklab(0.4208 0.0103 -0.007)
OKLCHoklch(0.4208 0.0125 325.8)
Decimal5327697

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.48: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.8 / 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: #514b51;
  --color-brand-oklch: oklch(42.08% 0.0125 325.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 75 81 / 50%); }
/* Tailwind CSS */
<div class="bg-[#514b51] text-[#514b51] border-[#514b51]">