#474243#474243

#474243 is a dark, near-neutral grey. Relative luminance 0.056; OKLCH L 38.4% C 0.007 H 3.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#474243
RGBrgb(71, 66, 67)
HSLhsl(348, 4%, 27%)
HSVhsv(348, 7%, 28%)
CMYKcmyk(0%, 7%, 5.6%, 72.2%)
CIE-LABlab(28.49, 2.33, 0.16)
CIE-LCHlch(28.49, 2.33, 3.82°)
OKLaboklab(38.44% 0.007 0.0005)
OKLCHoklch(38.44% 0.007 3.7)
XYZxyz(5.5597, 5.6413, 6.1051)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474243 #424746
analogous
#474246 #474243 #474442
triadic
#474243 #434742 #424347
tetradic
#474243 #464742 #424746 #444247
square
#474243 #464742 #424746 #444247
split-complementary
#474243 #424744 #424647
monochromatic
#100F0F #272525 #474243 #675F61 #867D7F

Accessibility & contrast

On white

9.87
#474243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474243
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474243#FFFFFF#000000##FFFFFF
##4742431.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434343
Deuteranopia (green-blind)
#444343
Tritanopia (blue-blind)
#484242
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #474243;
/* rgb */ color: rgb(71, 66, 67);
/* oklch */ color: oklch(38.4% 0.007 3.7);
Tailwind
colors: {
  custom: {
    50: '#7a7677',
    500: '#474243',
    950: '#000000',
  },
}
SCSS
$custom: #474243;
$custom-light: #7a7677;
$custom-dark: #000000;
JSON
{
  "hex": "#474243",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 67
  },
  "hsl": {
    "h": 348,
    "s": 3.65,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.00699,
    "h": 3.7
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#474243
secondary
#6F7574
accent
#ADA37B
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#090808
muted
#7B7B7B

Preview Lab

Preview with #474243

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

Preview Lab → · Contrast checker → · Palette generator →

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