#424242#424242

#424242 is a dark, near-neutral grey. Relative luminance 0.054; OKLCH L 37.9% C 0.000 H 0.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#424242
RGBrgb(66, 66, 66)
HSLhsl(0, 0%, 26%)
HSVhsv(0, 0%, 26%)
CMYKcmyk(0%, 0%, 0%, 74.1%)
CIE-LABlab(27.97, 0.00, -0.00)
CIE-LCHlch(27.97, 0.00, 338.20°)
OKLaboklab(37.91% 0 0)
OKLCHoklch(37.91% 0 0)
XYZxyz(5.1782, 5.4480, 5.9320)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424242 #424242
analogous
#424242 #424242 #424242
triadic
#424242 #424242 #424242
tetradic
#424242 #424242 #424242 #424242
square
#424242 #424242 #424242 #424242
split-complementary
#424242 #424242 #424242
monochromatic
#0F0F0F #232323 #424242 #616161 #7F7F7F

Accessibility & contrast

On white

10.05
#424242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#424242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424242
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424242#FFFFFF#000000##FFFFFF
##4242421.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424242
Deuteranopia (green-blind)
#424242
Tritanopia (blue-blind)
#424242
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #424242;
/* rgb */ color: rgb(66, 66, 66);
/* oklch */ color: oklch(37.9% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#767676',
    500: '#424242',
    950: '#000000',
  },
}
SCSS
$custom: #424242;
$custom-light: #767676;
$custom-dark: #000000;
JSON
{
  "hex": "#424242",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 66
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37909,
    "c": 0,
    "h": 0
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#424242
secondary
#707070
accent
#A9A97E
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #424242

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

Preview Lab → · Contrast checker → · Palette generator →

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