#2C2828#2C2828

#2C2828 is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 28.1% C 0.006 H 17.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2C2828
RGBrgb(44, 40, 40)
HSLhsl(0, 5%, 16%)
HSVhsv(0, 9%, 17%)
CMYKcmyk(0%, 9.1%, 9.1%, 82.7%)
CIE-LABlab(16.53, 1.84, 0.66)
CIE-LCHlch(16.53, 1.95, 19.85°)
OKLaboklab(28.12% 0.0056 0.0018)
OKLCHoklch(28.12% 0.006 17.5)
XYZxyz(2.1805, 2.2063, 2.3181)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2828 #282C2C
analogous
#2C282A #2C2828 #2C2A28
triadic
#2C2828 #282C28 #28282C
tetradic
#2C2828 #2A2C28 #282C2C #2A282C
square
#2C2828 #2A2C28 #282C2C #2A282C
split-complementary
#2C2828 #282C2A #282A2C
monochromatic
#100F0F #100F0F #2C2828 #4C4545 #6C6262

Accessibility & contrast

On white

14.57
#2C2828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2C2828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2828
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2828#FFFFFF#000000##FFFFFF
##2C28281.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292828
Deuteranopia (green-blind)
#2A2928
Tritanopia (blue-blind)
#2D2828
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2828;
/* rgb */ color: rgb(44, 40, 40);
/* oklch */ color: oklch(28.1% 0.006 17.5);
Tailwind
colors: {
  custom: {
    50: '#656161',
    500: '#2c2828',
    950: '#000000',
  },
}
SCSS
$custom: #2c2828;
$custom-light: #656161;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2828",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 4.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28117,
    "c": 0.00591,
    "h": 17.5
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#2C2828
secondary
#555B5B
accent
#AEAE7A
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050505
muted
#7A7979

Preview Lab

Preview with #2C2828

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

Preview Lab → · Contrast checker → · Palette generator →

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