#474245#474245

#474245 is a dark, near-neutral grey. Relative luminance 0.057; OKLCH L 38.5% C 0.008 H 340.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#474245
RGBrgb(71, 66, 69)
HSLhsl(324, 4%, 27%)
HSVhsv(324, 7%, 28%)
CMYKcmyk(0%, 7%, 2.8%, 72.2%)
CIE-LABlab(28.55, 2.76, -1.05)
CIE-LCHlch(28.55, 2.96, 339.10°)
OKLaboklab(38.51% 0.0079 -0.0028)
OKLCHoklch(38.51% 0.008 340.7)
XYZxyz(5.6208, 5.6657, 6.4266)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474245 #424744
analogous
#474247 #474245 #474243
triadic
#474245 #454742 #424547
tetradic
#474245 #474742 #424744 #424347
square
#474245 #474742 #424744 #424347
split-complementary
#474245 #434742 #424747
monochromatic
#100F0F #272526 #474245 #675F64 #867D83

Accessibility & contrast

On white

9.84
#474245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#474245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474245
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474245#FFFFFF#000000##FFFFFF
##4742451.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424345
Deuteranopia (green-blind)
#434445
Tritanopia (blue-blind)
#484243
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #474245;
/* rgb */ color: rgb(71, 66, 69);
/* oklch */ color: oklch(38.5% 0.008 340.7);
Tailwind
colors: {
  custom: {
    50: '#7a7678',
    500: '#474245',
    950: '#000000',
  },
}
SCSS
$custom: #474245;
$custom-light: #7a7678;
$custom-dark: #000000;
JSON
{
  "hex": "#474245",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 69
  },
  "hsl": {
    "h": 324,
    "s": 3.65,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.00837,
    "h": 340.7
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#474245
secondary
#6F7572
accent
#AD8F7B
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#090809
muted
#7B7B7B

Preview Lab

Preview with #474245

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#474245 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva