#664D51

#664D51 is the hex color DimGray. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #664D51; the exact match is none.

Open #664D51 in the picker

#664D51 color codes

HEX
#664D51
HEX8
#664D51FF
HEX8 (Android)
#FF664D51
RGB
rgb(102, 77, 81)
RGB (%)
40%, 30%, 32%
HSL
hsl(350, 14%, 35%)
HSV / HSB
hsv(350, 25%, 40%)
CMYK
cmyk(0%, 25%, 21%, 60%)
OKLCH
oklch(0.4478 0.0343 7.84)
OKLCH (%)
oklch(44.78% 0.0343 7.84)
Decimal
6704465

What color is #664D51?

#664D51 sits at 45% lightness and 0.0343 chroma in OKLCH, hue 7.84°. Its nearest named color is DimGray.

Shades and tints of #664D51

Tints

Shades

Tones

#664D51 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #664D51 in CSS

.text       { color: #664D51; }
.background { background-color: #664D51; }
.border     { border: 2px solid #664D51; }

/* Modern, perceptually uniform */
.text { color: oklch(0.4478 0.0343 7.84); }

/* #664D51 at 50% transparency */
.overlay { background-color: #664D5180; }

Is #664D51 accessible?

#664D51 on white text scores 7.65:1; on black text it scores 2.75:1. White text passes WCAG AAA on #664D51. Recommended text color on a #664D51 background: white.

A 2.75:1 vs black
A 7.65:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#664D51) → white
APCA Lc experimental 91.3 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

See more in the brown family on the colors hub.

Frequently asked questions

What color is #664D51?
#664D51 is closest to DimGray. In RGB it is rgb(102, 77, 81), and in HSL hsl(350, 14%, 35%).
What is #664D51 in RGB?
#664D51 converts to rgb(102, 77, 81) — red 102, green 77, blue 81.
What text color is readable on #664D51?
White text — it has the higher contrast ratio (7.65:1) against #664D51. White text passes WCAG AAA on #664D51.
Open #664D51 in the picker