#2A2424#2A2424

#2A2424 is a dark, near-neutral grey. Relative luminance 0.019; OKLCH L 26.7% C 0.009 H 17.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#2A2424
RGBrgb(42, 36, 36)
HSLhsl(0, 8%, 15%)
HSVhsv(0, 14%, 16%)
CMYKcmyk(0%, 14.3%, 14.3%, 83.5%)
CIE-LABlab(14.85, 2.81, 1.03)
CIE-LCHlch(14.85, 3.00, 20.15°)
OKLaboklab(26.7% 0.0086 0.0028)
OKLCHoklch(26.7% 0.009 17.7)
XYZxyz(1.9041, 1.8814, 1.9316)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2424 #242A2A
analogous
#2A2427 #2A2424 #2A2724
triadic
#2A2424 #242A24 #24242A
tetradic
#2A2424 #272A24 #242A2A #27242A
square
#2A2424 #272A24 #242A2A #27242A
split-complementary
#2A2424 #242A27 #24272A
monochromatic
#100E0E #100E0E #2A2424 #4B4040 #6C5C5C

Accessibility & contrast

On white

15.26
#2A2424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2424 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2424
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2424#FFFFFF#000000##FFFFFF
##2A24241.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252524
Deuteranopia (green-blind)
#262624
Tritanopia (blue-blind)
#2B2324
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a2424;
/* rgb */ color: rgb(42, 36, 36);
/* oklch */ color: oklch(26.7% 0.009 17.7);
Tailwind
colors: {
  custom: {
    50: '#635e5e',
    500: '#2a2424',
    950: '#000000',
  },
}
SCSS
$custom: #2a2424;
$custom-light: #635e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2424",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 36
  },
  "hsl": {
    "h": 0,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.00906,
    "h": 17.7
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#2A2424
secondary
#505959
accent
#B1B177
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #2A2424

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

Preview Lab → · Contrast checker → · Palette generator →

#2A2424 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva