#2A2626#2A2626

#2A2626 is a dark, near-neutral grey. Relative luminance 0.020; OKLCH L 27.3% C 0.006 H 17.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#2A2626
RGBrgb(42, 38, 38)
HSLhsl(0, 5%, 16%)
HSVhsv(0, 10%, 16%)
CMYKcmyk(0%, 9.5%, 9.5%, 83.5%)
CIE-LABlab(15.58, 1.85, 0.67)
CIE-LCHlch(15.58, 1.97, 19.86°)
OKLaboklab(27.3% 0.0057 0.0018)
OKLCHoklch(27.3% 0.006 17.6)
XYZxyz(1.9978, 2.0184, 2.1177)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2626 #262A2A
analogous
#2A2628 #2A2626 #2A2826
triadic
#2A2626 #262A26 #26262A
tetradic
#2A2626 #282A26 #262A2A #28262A
square
#2A2626 #282A26 #262A2A #28262A
split-complementary
#2A2626 #262A28 #26282A
monochromatic
#100F0F #100F0F #2A2626 #4A4343 #6A6060

Accessibility & contrast

On white

14.96
#2A2626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2A2626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2626
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2626#FFFFFF#000000##FFFFFF
##2A26261.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272626
Deuteranopia (green-blind)
#282726
Tritanopia (blue-blind)
#2B2626
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2626;
/* rgb */ color: rgb(42, 38, 38);
/* oklch */ color: oklch(27.3% 0.006 17.6);
Tailwind
colors: {
  custom: {
    50: '#636060',
    500: '#2a2626',
    950: '#000000',
  },
}
SCSS
$custom: #2a2626;
$custom-light: #636060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2626",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 38
  },
  "hsl": {
    "h": 0,
    "s": 5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27297,
    "c": 0.00597,
    "h": 17.6
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#2A2626
secondary
#535959
accent
#AEAE7A
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #2A2626

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

Preview Lab → · Contrast checker → · Palette generator →

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