#474246#474246

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

Color values

HEX#474246
RGBrgb(71, 66, 70)
HSLhsl(312, 4%, 27%)
HSVhsv(312, 7%, 28%)
CMYKcmyk(0%, 7%, 1.4%, 72.2%)
CIE-LABlab(28.59, 2.98, -1.66)
CIE-LCHlch(28.59, 3.41, 330.92°)
OKLaboklab(38.55% 0.0084 -0.0044)
OKLCHoklch(38.55% 0.009 332.4)
XYZxyz(5.6521, 5.6783, 6.5914)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474246 #424743
analogous
#464247 #474246 #474244
triadic
#474246 #464742 #424647
tetradic
#474246 #474642 #424743 #424447
square
#474246 #474642 #424743 #424447
split-complementary
#474246 #444742 #424746
monochromatic
#100F10 #272527 #474246 #675F65 #867D84

Accessibility & contrast

On white

9.83
#474246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#474246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474246
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474246#FFFFFF#000000##FFFFFF
##4742461.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474246;
/* rgb */ color: rgb(71, 66, 70);
/* oklch */ color: oklch(38.5% 0.009 332.4);
Tailwind
colors: {
  custom: {
    50: '#7a7679',
    500: '#474246',
    950: '#000000',
  },
}
SCSS
$custom: #474246;
$custom-light: #7a7679;
$custom-dark: #000000;
JSON
{
  "hex": "#474246",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 70
  },
  "hsl": {
    "h": 312,
    "s": 3.65,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.00943,
    "h": 332.4
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#474246
secondary
#6F7571
accent
#AD857B
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#090809
muted
#7B7B7B

Preview Lab

Preview with #474246

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

Preview Lab → · Contrast checker → · Palette generator →

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